Ive got two different light ramps with three gui10 lights that are controlled by a button. Ive made automations to turn them on and off which worked initially. But now, one of the three lights doenst turn on and off via the button. Both work fine. And running the automation via the meny turns it on and off. Its just the button function that doesnt work?
Any work around? Using device to catch and trigger when its pressed
If for some reason the device ID changed, it could be related…
It could also be that if one of the actions fails (or has an error code), it would terminate the automation, and therefor not call the remaining actions…
The turn_off service call has only one action, so even if one of them would return a failure, it would still call the service on all 3, as it executes simultaneously
PS: Totally agree with Arh…without proper code it will be difficult to assist
Ofcourse, my apologies. Ive hopefully corrected it now.
I will try the service part. Does that also mean i should catch the button command using services and not device?
Does issuing multiple commands at once become an issue? Should i place a pause somewhere? Its just strange that manually starting the automation works but not by triggering it. I can see thats its being triggered and executes other commands, its like its skipping the 3rd light
Here is the second automation. This time its a Wiz wifi light.
Thx for your replies. I had another button/light combo fail on me when i got home. Ill redo the automation, write names instead and try service to see if it works out.
so i finally came home from work and checked the traces and none of the buttons which are ikea switches register. Yet, they control the lights. i have no idea whats firing to turn on and off the lights tbh, but despite turning them on and off several times just now, there is no trace of an event firing thats being catched by HA.
the one with the code above is this model:
could it be connected directly to the bulbs? it does have that function and i did reset the entire room at once.
yes it was connected and was working when i configured the automations. its like its since then disconnected from that network and bonded with the lights.
im trying to rejoin it to the network but the interview fails each time. but it seems ive found what the problem is.
EDIT: finally got it to pair and setting the same name made it slot into the automations after doing the usual “function registration” with pressing and holding. its now working.
im guessing, since all my other switches are ikea similar to this model (both 2 button and 5 button) and i did the pairing in the same way, that this probably is the fault on the other ones. im going to reset them.
thanks for your help aceindy.
EDIT 2; using call service worked on the non ikea wifi light. thank you