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
We should unify the way states are retrieved from Devices. Now some use functions (Sensor.resolve_state()) and some properties (Switch.state).
Devices with multiple RemoteValues have multiple properties (brightness, color, etc. )
I'd suggest we implement a property for all devices that returns all (known/used/used+unused) states as dict so it's easier to write callback functions for multiple types of Device().
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please make sure to update to the latest version of xknx (or Home Assistant) and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
We should unify the way states are retrieved from Devices. Now some use functions (
Sensor.resolve_state()
) and some properties (Switch.state
).Devices with multiple RemoteValues have multiple properties (brightness, color, etc. )
I'd suggest we implement a property for all devices that returns all (known/used/used+unused) states as dict so it's easier to write callback functions for multiple types of Device().
The text was updated successfully, but these errors were encountered: