gtdiehl / iotawatt_ha

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

Remove ELECTRIC_POTENTIAL_VOLT constant #9

Closed gtdiehl closed 3 years ago

gtdiehl commented 3 years ago

The ELECTRIC_POTENTIAL_VOLT constant can only be used for HA 2021.8 and above. Need to support older versions for now.

Since this integration is not tied to a specific version of HA, we will need to support older versions. Once this code is moved to the official HA repo then we can use the ELECTRIC_POTENTIAL_VOLT constant