anerdins / nibepi

Backend for Nibe F series heatpump
MIT License
153 stars 36 forks source link

class should be 'current' instead of 'power' when publishing to MQTT #32

Open pocketware opened 9 months ago

pocketware commented 9 months ago

See https://developers.home-assistant.io/docs/core/entity/sensor/ Device class power requires W or kW as unit_of_measurement. Device class current requires A or mA as unit_of_measurement.

image

AndersHoglund commented 8 months ago

Maybe add handling of unit "kWh" as "energy" too. Missing.