10-06-2024, 12:40 PM
when you press switch , the binary sensor state will update in home assistant, that means config OK.
second, you just create AUTOMATION in home assistant, IF binary sensor state ON THEN DO8 relay TOGGLE
second, you just create AUTOMATION in home assistant, IF binary sensor state ON THEN DO8 relay TOGGLE