Value Error when using update_traces and selector

I am trying to update the opacity of specific scatters using ‘update_traces’. First, I used update_traces to add an array of ids:
When printing fig, I get this:

‘ids’: array([‘Test1’, ‘Test2’, ‘Vancouver’, ‘Prince George’, ‘Calgary’, ‘Edmonton’, ‘Saskatoon’], dtype=object)

I am now trying to change the opacity of the ‘Test1’ scatter to 0, with the following code:

fig.update_traces(marker_opacity=0, selector=dict(ids=“Test1”))

But I keep getting the following error:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

What I am doing wrong? Thanks in advance.