How to get switch working #16
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Do you want to create a switch device or do you want to be able to control the relay through zigbee? For the latter you can use the on_off cluster like in the example:
Instead of the light you can connect an output. Switches are currently not supported but maybe you could use a binary sensor with a automation in HA. |
Beta Was this translation helpful? Give feedback.
-
Looks good to me, these errors can be ignored. |
Beta Was this translation helpful? Give feedback.
Try to replace on_off_switch with on_off_light or on_off_output.
And re-interview in z2m.