Add mAh, Ah as a new BATTERY_CAPACITY device class #1052
Replies: 5 comments 12 replies
-
Ah is actually quite a poor indicator of battery capacity since it's unit isn't Joule, the measure of energy (you thus need the voltage with Ah to get to that). Wouldn't this value be mostly a constant anyway? Or are you actually talking about remaining capacity here? |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Please list the integrations that could leverage the new device class. Integrations that can leverage anything, like template and MQTT aren't interesting. |
Beta Was this translation helpful? Give feedback.
-
I also use this integration with a device for RPI where the battery capacity is defined in mAh |
Beta Was this translation helpful? Give feedback.
-
In my opinion, HA should be capable of handling at least some Standard Units - and Ah / mAh is one. There are other examples of Units that could be integrated - even If they are not that common... MW (Mega Watt) etc. that could be easily added without causing issues If they are not beeing used immediately. You can Just Setup a Rest API Sensor or create a template that would utilize such a measurement value... |
Beta Was this translation helpful? Give feedback.
-
This seems to be a pretty important missing unit. Currently we have support for energy capacity, but not battery capacity, which is useful for a lot of battery based devices (in my case the Ecoflow batteries) which report this value.
Beta Was this translation helpful? Give feedback.
All reactions