mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add and use ELECTRICAL_CURRENT_AMPERE, ELECTRICAL_VOLTAGE_AMPERE constants (#33990)
* Add and use ELECTRICAL_CURRENT_AMPERE constant * Add and use ELECTRICAL_VOLTAGE_AMPERE constant * Rename ELECTRICAL_VOLTAGE_AMPERE to ELECTRICAL_VOLT_AMPERE * Fix imports
This commit is contained in:
@@ -357,6 +357,10 @@ VOLT = "V"
|
||||
ENERGY_WATT_HOUR = f"{POWER_WATT}h"
|
||||
ENERGY_KILO_WATT_HOUR = f"k{ENERGY_WATT_HOUR}"
|
||||
|
||||
# Electrical units
|
||||
ELECTRICAL_CURRENT_AMPERE = "A"
|
||||
ELECTRICAL_VOLT_AMPERE = f"{VOLT}{ELECTRICAL_CURRENT_AMPERE}"
|
||||
|
||||
# Degree units
|
||||
DEGREE = "°"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user