Script help / control single switch with switch.turn_on/off

I have multiple relay switches on my new HA install. I am attempting to control a single relay with a script but need some guidance getting it to work. This script seems right to me but does not work. If I remove " - data:
entity id: switch.relay_2_1", all relays turn on/off, which is not what I want.

Ideas?

'1562095453921':
  alias: Turn Up Relay 2_1
  sequence:
  - condition: state
    entity_id: switch.relay_4_2
    state: 'on'
  - data:
      entity id: switch.relay_2_1
    service: switch.turn_on

1 Like

Should be entity_id

Thank you! That worked.