From c1e0f67f4eec62831fb5b02111f71585a32f1c5c Mon Sep 17 00:00:00 2001 From: Jason Rhubottom <3378004+jrhubott@users.noreply.github.com> Date: Wed, 4 Aug 2021 16:42:11 -0700 Subject: [PATCH] Update sensor.py ELECTRIC_POTENTIAL_VOLT changed from VOLT --- custom_components/homeseer/sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/homeseer/sensor.py b/custom_components/homeseer/sensor.py index 4250e88..176db8c 100644 --- a/custom_components/homeseer/sensor.py +++ b/custom_components/homeseer/sensor.py @@ -37,7 +37,7 @@ POWER_WATT, POWER_KILO_WATT, ELECTRIC_CURRENT_AMPERE, - VOLT, + ELECTRIC_POTENTIAL_VOLT, ) from homeassistant.helpers.entity import Entity @@ -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, }