deconz icon indicating copy to clipboard operation
deconz copied to clipboard

Expose all available attributes of thermostat to HA bundled as device

Open Pe-MaKer opened this issue 2 years ago • 2 comments

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

Pe-MaKer avatar Apr 26 '22 15:04 Pe-MaKer

I still have a lot of refactoring to do before this is possible to add in the integration, but Im slowly getting there!

Kane610 avatar Jun 20 '22 19:06 Kane610

https://github.com/home-assistant/core/pull/57291

Kane610 avatar Oct 03 '22 15:10 Kane610