Force update of zha remotes to make automation easier#14795
Force update of zha remotes to make automation easier#14795dmulcahey wants to merge 2 commits intohome-assistant:devfrom
Conversation
|
This is because a button/remote is represented as a binary sensor, that's wrong to begin with. Those should be converted to just fire events by the |
|
@ballob I’m willing to fix the issue. Can you provide any guidance? Or is there a particular platform that has an example of how you expect this to be implemented? I understand that the implementation isn’t correct (I was kinda confused myself when I initially saw it) but I’m unsure of how to have a component that fires events without a backing entity. |
|
I don't know how zha works, so I can only give you global guidance: The logic should live |
|
@dmulcahey I use xiaomi switches with the |
Description:
Because these are "remotes" and not true switches each button press should result in a state change. This may not be necessary once zha supports groups.
addresses: zigpy/zigpy#55