Dear All,
I am trying to write an automation. My intention is that:
on specific time, if IR trigger fires (I am using sonoff bridge flashed tasmota), HA will call ringtone on Xiaomi hub integrated on HA. My config below but seem wrong for it automation does not work
Can anyone help me to show what’s wrong with my code?
Dear mf_socialMarc
Many thanks for your help. Actually, I do not know these coding for I am amateur user. Just find, read and copy, paste and test.
I will try and let you know result.
Minh Chau
Dear mf_social,
I am trying this as well but it does not work (Another automation, not the once you fixed)
My idea is that:
When the IR fires and then door sensor fires (both via Sonoff Bridge Tamota), then, home assistant will turn on a switch.
Note: door sensor has no state (such as opened or closed) information, just firing once door opens.
My code are below, can you help me once again?
Again, this is a condition that cannot be fulfilled.
You will not receive both of these values in the same packet.
You probably need to make some template sensors based on the mqtt packets, and check the state of the sensors instead of the mqtt payload directly.