Skip to content

Commit

Permalink
Merge pull request #8 from weirded/master
Browse files Browse the repository at this point in the history
Updating VOLT constant to ELECTRIC_POTENTIAL_VOLT for 2021.8
  • Loading branch information
eseglem authored Aug 23, 2021
2 parents 332c321 + 48bc867 commit a186540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/wattbox/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
DEVICE_CLASS_PROBLEM,
DEVICE_CLASS_SAFETY,
)
from homeassistant.const import POWER_WATT, TIME_MINUTES, PERCENTAGE, VOLT
from homeassistant.const import POWER_WATT, TIME_MINUTES, PERCENTAGE, ELECTRIC_POTENTIAL_VOLT

# Base component constants
DOMAIN = "wattbox"
Expand Down Expand Up @@ -70,5 +70,5 @@
"current_value": ["Current", "A", "mdi:current-ac"],
"est_run_time": ["Estimated Run Time", TIME_MINUTES, "mdi:update"],
"power_value": ["Power", POWER_WATT, "mdi:lightbulb-outline"],
"voltage_value": ["Voltage", VOLT, "mdi:flash-circle"],
"voltage_value": ["Voltage", ELECTRIC_POTENTIAL_VOLT, "mdi:flash-circle"],
}

0 comments on commit a186540

Please sign in to comment.