Use POWER_WATT constant (#33984)
This commit is contained in:
1 parent
2ab79115d1
commit
f839ba00eb
14 files changed
+56
-35
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user