Hey!
I would like to make an automation that, using the LED Ring in Voice PE, will notify me of specific things (depending on the reason, it will light up in different colors).
However, there is a problem. I would like that after the automation is done, the color and brightness will return to their state before the automation. Is it possible to somehow check what the color and brightness of the light was at the beginning of the automation, so that after the automation is executed, such parameters will set themselves?
#Voice PE as notification light
1 messages · Page 1 of 1 (latest)
in the automation create a scene at the beginning that has the current state of the led ring entity
then do whatever your doing
then activate the scene you created
as this scene has a fixed ID it gets overwritten every time the automation is run so you dont have to worry about them piling up
I'll try to do so! Thanks a lot!
no worries, scenes are a powerful tool for storing the state of 1 or more devices/entities
It worked, but I had to tweak a bit. It looks like this:
- light on
- delay by 80ms
- creating a scene
- turning on the light with other settings
- performing other actions
- activating the scene
- turning off the light
As I did without steps 1, 2 and 7 then when I turned it back on, the settings from step 4 were still there.