Closed farmio closed 1 year ago
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.
Maybe we can find a way to store the last used mode of lights supporting white with color temperatures and also colored light. Like a light that can be controlled by HSB and also tunable white DPT 5 or 7 GAs.
A possible way would be to store the latest non-state addresses that received a GroupValueWrite. This could be mapped to a color mode in the HA integration.
We'd need to find out if there is consistent behaviour among different actuator models when they eg. have an internal defined turn-on state. So if only a
address
DPT 1 is received and it switches its internal mode to something different than what was chosen before there should probably be some writes on state_addresses. In this case we shouldn't only observe non-state addresses.This would enable us to support multiple modes in a single light entity in HA. Currently 2 independent entitites are needed for such a setup - but that can lead to issues with duplicated unique_ids.