You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that converts a OnOff output (client) cluster into a virtual server cluster through a handler. It will generate attribute updates based on the commands generated by the client cluster.
I assume this logic stems from before we had event entities in home assistant and was some type of attempt to create a binary_input like entity from an OnOff client cluster.
We should add support for event entities for output clusters, and drop this rather confusing special logic for OnOff clusters.
The text was updated successfully, but these errors were encountered:
elupus
changed the title
The special casing of OnOff client clusters should likely be removed
The special casing of OnOff client clusters should likely be removed in preference to event entities
Aug 6, 2024
Any sort of virtual clusters need to go, in my opinion. They were created to re-use the existing cluster handlers to create entities. With the ZHA library allowing direct entity creation, we need to start replacing virtual clusters with those.
Currently there is a special logic at
zha/zha/application/discovery.py
Line 449 in 9fe8345
I assume this logic stems from before we had event entities in home assistant and was some type of attempt to create a binary_input like entity from an OnOff client cluster.
We should add support for event entities for output clusters, and drop this rather confusing special logic for OnOff clusters.
The text was updated successfully, but these errors were encountered: