I’m writing a custom integration for some custom hardware I’ve made. I can give more details but I don’t think they’re terribly important to the meat of this question.
In the custom integration, I am subclassing ClimateEntity
, implementing the entity, and then loading the platform following the https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_load_platform example - all of that is working great.
The problem is, my hardware has some added things that it can do that aren’t really represented in the attributes of a ClimateEntity. E.g., there’s multiple temperature sensors, additional directionality to the fan, etc.
It would be easy enough for me to implement this by just adding a few new attributes to the entity that are not part of the base ClimateEntity. However, I cannot for the life of me figure out how one adds new attributes. I tried adding properties, and they exist in Python but never show up in the home assistant UI. And I don’t really see anywhere obvious that shows how to expose new attributes to home assistant’s state machine. Can anyone give me some pointers?