dboeni / home-assistant-ampere-storage-pro

MIT License
12 stars 2 forks source link

correct device_class of power measurements to be power instead of energy #5

Open t-aus-m opened 2 weeks ago

t-aus-m commented 2 weeks ago

Thanks a lot for putting in the effort to create this! When using your integration though, my HomeAssistant complained about wrong device_classes. Watts are not a unit of energy but rather a unit of power, thus I corrected the sensors of your integration accordingly.