deconz
deconz copied to clipboard
Expose all available attributes of thermostat to HA bundled as device
I would like to find all available attributes of a thermostat in HA. Ideally, writeable attributes will be switches and readable attributes will be sensors. By using the property "entity_category" as "config" or "diagnostic" this fits well into the Home Assistant concept of devices.
Here are some examples of attributes that should cleverly arrive as Switch Entity in HA (entity category config): externalwindowopen displayflipped locked schedule_on mountingmode orientation RadiatorCovered
As Select Entity: mode preset fanmode swingmode
As Number Entity: externalsensortemp offset
And here the diagnostic-entities which are all sensors: on windowopen valve SerpointChangeSource battery (as already correct)
I have a sneaking suspicion that this means greater development effort. But I hope that there will be gradual improvements in how many of the possibilities can also be used through the Home Assistant UI.
Link 1: https://www.home-assistant.io/blog/2021/11/03/release-202111/#entity-categorization
Link 2: https://developers.home-assistant.io/docs/core/entity?_highlight=entity_category#generic-properties
I still have a lot of refactoring to do before this is possible to add in the integration, but Im slowly getting there!
https://github.com/home-assistant/core/pull/57291