Centrally define Energy Units (kWh and Wh) (#21719)
* centralize energy units kWh and Wh * lint
This commit is contained in:
1 parent
c0b859d8da
commit
a99d83390e
19 files changed
+70
-51
No files matched your search
@@ -325,6 +325,10 @@ ATTR_TEMPERATURE = 'temperature'
|
||||
# Power units
|
||||
POWER_WATT = 'W'
|
||||
|
||||
# Energy units
|
||||
ENERGY_KILO_WATT_HOUR = 'kWh'
|
||||
ENERGY_WATT_HOUR = 'Wh'
|
||||
|
||||
# Temperature units
|
||||
TEMP_CELSIUS = '°C'
|
||||
TEMP_FAHRENHEIT = '°F'
|
||||
|
||||
Reference in new issue
Block a user