gtdiehl / iotawatt_ha

IoTaWatt for Home Assistant
Apache License 2.0
16 stars 16 forks source link

Fix device class units for core 2021.8 and add basic README.md #5

Closed agners closed 3 years ago

gtdiehl commented 3 years ago

I'm going to have to open a PR as this one breaks Home Assistant running less than <2021.8 because the ELECTRIC_POTENTIAL_VOLT constant is only in that version. When the integration is moved out of HACS in the official HA repo the ELECTRIC_POTENTIAL_VOLT will be added back.