Use POWER_WATT constant (#33984)

This commit is contained in:
springstan authored and GitHub committed 2020-04-11 15:40:59 +02:00
1 parent 2ab79115d1
commit f839ba00eb
14 files changed
+56 -35

No files matched your search

+2 -2
View File
@@ -349,8 +349,8 @@ POWER_WATT = "W"
UNIT_VOLT = "V"
# Energy units
ENERGY_KILO_WATT_HOUR = "kWh"
ENERGY_WATT_HOUR = "Wh"
ENERGY_WATT_HOUR = f"{POWER_WATT}h"
ENERGY_KILO_WATT_HOUR = f"k{ENERGY_WATT_HOUR}"
# Temperature units
TEMP_CELSIUS = "°C"