mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Use POWER_WATT constant (#33984)
This commit is contained in:
@@ -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