Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
ELECTRIC_POTENTIAL_VOLT changed from VOLT
  • Loading branch information
jrhubott authored Aug 4, 2021
1 parent d516f3c commit c1e0f67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/homeseer/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
POWER_WATT,
POWER_KILO_WATT,
ELECTRIC_CURRENT_AMPERE,
VOLT,
ELECTRIC_POTENTIAL_VOLT,
)

from homeassistant.helpers.entity import Entity
Expand All @@ -53,8 +53,8 @@
HS_UNIT_LUX: LIGHT_LUX,
HS_UNIT_PERCENTAGE: PERCENTAGE,
HS_UNIT_KILOWATTS: POWER_KILO_WATT,
HS_UNIT_AMPS: ELECTRICAL_CURRENT_AMPERE,
HS_UNIT_VOLTS: VOLT,
HS_UNIT_AMPS: ELECTRIC_CURRENT_AMPERE,
HS_UNIT_VOLTS: ELECTRIC_POTENTIAL_VOLT,
HS_UNIT_WATTS: POWER_WATT,
}

Expand Down

0 comments on commit c1e0f67

Please sign in to comment.