MizterB / homeassistant-infinitude-beyond

Home Assistant custom component for controlling Carrier Infinity Touch thermostats through an Infinitude proxy server.
21 stars 5 forks source link

Relative humidity #28

Open Darkknight33 opened 2 months ago

Darkknight33 commented 2 months ago

Feature request: Please add relative humidity ('rh' in infinitude) to the sensors so it is exposed as an entity in HA.

I use this to track the climate in my house and help guide my humidifier automation.

Thank you for the hard work with the new version.

greggitter commented 1 month ago

I have a question, if applicable here. I realize this is an attribute, but is there a difference between what you're asking for vs creating (via a helper) the entity as below? Thx.

image

amdhunter commented 3 weeks ago

I have a question, if applicable here. I realize this is an attribute, but is there a difference between what you're asking for vs creating (via a helper) the entity as below? Thx.

No, what you are doing is creating the exact same sensor as a sensor that could be exposed by the integration. I have been doing similar for many attributes using the old Infinitude integration for a few years now.

greggitter commented 3 weeks ago

Yes I too did this with the old integration. And you're saying this is fine to do...? So no cons vs. creating the sensor directly in the addon other than convenience? Thx!

amdhunter commented 3 weeks ago

No, it just creates a sensor entity you can use in dashboards, or in my case, I have a "dashboard" in Grafana I pull this data into so I can track what my HVAC system is doing over time.

Here's the ones I have built. Some of them are fed from "raw data" REST sensors pulling directly from the Infinitude API, then I transform that data into a "friendly" format inside an HA template sensor. Example is "HVAC Stage", and "HVAC Status". The rest are built the way you showed in your screenshot above, by pulling attribute data out of the climate.zone_1 entity created by Infinitude Beyond.

image

greggitter commented 3 weeks ago

Cool stuff! Thanks again.