Hello,
I’m having hard time getting trigger to work. It used to work until power outage and I’m troubleshooting this right now.
Automation is based on trigger from Xiaomi push button, which looks like its registered properly. Automation when ran manually works as well. So basically HA sees event (logs), but somehow it’s not triggering automation.
Thanks @sparkydave,
I can trigger action thru automation service and that works ok, but just to be safe I’ve removed additional indentation. I’m out of ideas since HA missing debug tools. I’ll try to create dummy trigger and go with that.
Also even if I trigger even manually xiaomi_aqara.click thru web with event data
@phoxy84,
Thanks for suggestion. Yes automation works ok when triggered manually so looks like the action piece is working ok. It almost looks like HA sees the event coming from Xiaomi gateway but is not processing it and sending to actions.
But thank you for suggestion I’ll try to pass ID directly not as data element as per your suggestion
Tonight I’ll try to create trigger with simple button and see if that is going to change and then also try with another switch. I’m starting to think that power loss has caused some data corruption .
Ok quick update: Unfortunately changing automation doesn’t work. I’ve started suspecting that maybe whole trigger bus is not working so I’ve created quick binnary switch and tied same action there. Everything works.
I think this might be related specifically to the Xiaomi component, but I’m out of ideas how to troubleshoot it
Further update:
I think 0.84 has bug with triggers somehow. I’m separating automations in separate file. I got it to work, however this was pure luck. I’ve re-saved automation into different file name and it started working.
This looks like some strange caching issue