Automation for control lighting via PIR and button (TurnOn/TurnOff) for car box

If you like it, share it

This automation is for Home Assistant, for more info on it see the dedicate pages present in this website, start from here.

For implement this automation are necessary two different routine (automation), one for control the PIR and another one for control the Button(s).


Automation for Shelly 1 Button is show below.


Automation for PIR is show below (Xiaomi)