Automation editor add brightness and transition to light.turn on

I’m converting my automations so I can edit them in the automation editor in HA. I’m doing a clean-up so I just recreate the automations I want to keep in the editor.

I’m running into a problem where I want to add a transition to a light.turn_of. I can’t seem to add “transition”:“2” in the Service data field. What am I doing wrong ?!

{
“entity_id”: “light.wasruimte”,
“transition”: 2
}

no quotes on the 2.

1 Like