Rules with tasmota
https://tasmota.github.io/docs/Rules/#rule-syntax
Backlog Rule1 ON switch1#state=1 DO Publish stat/XYZ/BUTTON ON endon ON switch1#state=0 DO Publish stat/XYZ/BUTTON OFF endon; Rule1 1
delete
Rule1 "
Backlog Rule1 on Switch1#state do Publish stat/custom-topic/SWITCH1 %value% endon; Rule1 1
Backlog Rule1 on Switch1#state do Publish stat/custom-topic/SWITCH1 toggle endon; Rule1 1
Comments
Post a Comment