You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Both the `Battery Energy' and 'Battery Voltage' entities are missing their unit of measurement
For me these are the following entities:
sensor.clockworkpi_axp20x_battery_battery_energy
sensor.clockworkpi_axp20x_battery_battery_voltage
To Reproduce
Register sensors
Energy and Voltage entities have no unit of measurement, resulting in the history showing a history bar instead of graph
Expected behaviour
Entities to have a unit of measurement
Screenshots
Additional context
I assume this is enough info, if not please let me know!
The text was updated successfully, but these errors were encountered:
Hey thanks for reporting this issue and trying out Go hass Agent.
Hmm, this might be a kind of regression. I hadn't intended to expose sensors for battery voltage or energy, these should be attributes of the energy rate (power) sensor (if available). I can't understand from my own code how they managed to leak out as their own sensors...
Having said that, would it be useful to see these as individual sensors? I was originally following what the Home Assistant Android app does for batteries, which is to just show expose power and level sensors, with voltage and energy being attributes of the former. Is having them as a separate sensor adding value? Note that as attributes, you could still plot them in a dashboard.
I don't have a strong opinion on this, but I'd probably side with sticking with what the Android app does (fix/leave them as attributes).
Hi. Yes these sensors are actually very useful to me, especially the voltage sensor. Haven't tried using the attribute value, but if I'm not mistaken I would have to create a special sensor to be able to graph the value. I very much like at least voltage to be a separate sensor.
Go Hass Agent Version
v11.1.2
Describe the bug
Both the `Battery Energy' and 'Battery Voltage' entities are missing their unit of measurement
For me these are the following entities:
sensor.clockworkpi_axp20x_battery_battery_energy
sensor.clockworkpi_axp20x_battery_battery_voltage
To Reproduce
Expected behaviour
Entities to have a unit of measurement
Screenshots
![image](https://private-user-images.githubusercontent.com/7703320/402391261-90bc793c-f514-4aff-9ca9-96f83cc098a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjc3MTksIm5iZiI6MTczOTIyNzQxOSwicGF0aCI6Ii83NzAzMzIwLzQwMjM5MTI2MS05MGJjNzkzYy1mNTE0LTRhZmYtOWNhOS05NmY4M2NjMDk4YTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMjI0MzM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDRhOTVkZmJkNmVkMWM0YWVhYmFlNzAwODUzNzAxYWU1MzE0MmI5NTA5NTBiZTk2ZDE2OWQ5NDcwMjI5OTdhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.5e6lO1Udy_YPMk8Pv09kh4_B2QxBjDS9NVAeiuoh-tA)
Additional context
I assume this is enough info, if not please let me know!
The text was updated successfully, but these errors were encountered: