Closed cocarrig closed 1 year ago
Once this modification is released, when the HA block matches an entity with a state_class
of measurement
AND device_class
is also battery
, we will format as a battery
type.
Merged in @ c1f6ffa and added to the queue for upcoming release to the live site.
Currently in HA configuration, showing a batter level (as opposed to raw percentage) indication is made dependent upon the a 'state_ class measurement' field in the device's attribute not being present from HA.
In review, this does not appear to be consistent with all device types and is not needed. This case has been created to remove this dependency from generating the battery icon payload for these entities.
Supporting details: Device_class battery and unit_of_measurement % need only to be required.