MikeJMcGuire / hass-actronque

Actron Que/Neo Air Conditioner Add-On for Home Assistant
GNU General Public License v3.0
13 stars 5 forks source link

please add additional attributes to battery device class #8

Closed DanielNagy closed 2 years ago

DanielNagy commented 2 years ago

Hey, Can you add the following attributes to the battery device class please?

state_class: measurement unit_of_measurement: %

ie example of another battery device i have.
image

Adding these 2 attributes will help better filter when used in templates, essentially type checking, to make sure i'm pulling % measurements.

Also, I had to enable the "PerZoneSensors" to get the Battery information. Interestingly, there is also a discrepancy between temps. lol.

image Note - I've only got the Zone Controllers (battery powered), not the Zone Sensors.

Can you expose the Battery information with the PerZoneControls option too? so I can disable the PerZoneSensors as I don't need a second set of temp data.

Thanks :)

MikeJMcGuire commented 2 years ago

Will do.

MikeJMcGuire commented 2 years ago

Attributes added, and the battery has been added to perzonecontrols as well.

DanielNagy commented 2 years ago

Thanks Mike :)