-
Hello! I don't seem to be able to set the state of a switch. Not sure if this is me doing something wrong, or if this is just not implemented yet!? I have two endpoints defined:
I'm able to successfully set the temperature value:
But I can't do the same to set the switch state:
I get the following build error:
Any ideas? Thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Switches (for controlling other ZB devices)are not supported. But you could try a binary sensor instead and use a automation in HA instead. |
Beta Was this translation helpful? Give feedback.
-
Oh, I'd renamed |
Beta Was this translation helpful? Give feedback.
-
P.S. I saw "time sync" was on yor TODO list @luar123... had you made much progress on this? I was playing with this yesterday and have a basic implementation working. Will send a PR over once I've got it tidied-up and integrated into the |
Beta Was this translation helpful? Give feedback.
I found a work around to make switches work with some lambdas and zigbee sdk knowledge: