Edit an Action in Configuration UI to add transition

I am a new user, and have been using the Configuration UI to get started with simple Automations to turn on my Hue lights. I have an Automation to turn a light on at Sunset, and it works great. I wanted to add a transition time of 3 seconds, but there is no option in the UI to easily configure that. I see from the documentation that there is an attribute called transition.

I tried to modify the Action using Edit in YAML from within the UI. I added line 6 with the transition as follows:

1 domain: light
2 entity_id: light.hue_4w
3 device_id: xxxxxxxxxxxxxx
4 type: turn_on
5 brightness_pct: 75
6 transition: 3

I could not Save the edit. I received a message:
Message malformed: extra keys not allowed @ data[‘transition’]

Any help on how to fix this (or an alternate solution) would be appreciated. Thanks.

Hi there… You must be using the action type device. But instead of that you should be using the action type call service to call the light.turn_on service. There can add the transition easily in UI itself. please see the image.

Just notice the action type which is call service and the service is light.turn_on.

1 Like

Thank you so much. I will explore all of the menu options next time. Appreciate the great community here. Just got my Z-Wave network up and running, and added my first switch.

1 Like