Adding a custom action sounds simple, but getting the logic right can be tricky. One approach you could try is using the Scenes & Scripts - Toggle Helper. Then, create another automation that turns the IKEA bulbs OFF when this helper changes from ON to OFF. This could serve as a secondary signal to turn them OFF reliably.
However, the issue seems to be with the IKEA bulbs themselves. I’d recommend reaching out to IKEA and explaining that you’re using Home Assistant to control the lights, along with a description of the issue. Hopefully, they can help resolve the communication error.
Came here to say thanks for this blueprint - it works very nicely, and this comment answered the question that I was wondering about - being able to start the automation at sunset, and then stop it at midnight. Used this template with just the evening part, and it works lovely! Thanks!
Your lighting experience, your way – take control and customize it to perfection!
Bug Fixes
Bypass
Turn OFF action: When using Night Glow, the bypass would not turn off the Glow lights when using option 2.
Crossover when bypass is ON: Addressed multiple scenarios where, if the bypass was turned ON and a crossover occurred, the correct action would now be performed when all bypasses were turned OFF.
Global Conditions
Fixed an issue where Night Glow lights would not turn OFF based on sun, ambient, or time conditions.
Maintenance
Some code clean up in Device Tracker.
If you like this blueprint? Consider hitting the button in the top post
If you like my blueprints, and would like to show your support or just say thank you? Click Here