mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
[const] Add some units for future use and adjust case (#7260)
This commit is contained in:
parent
8696f922d1
commit
2a70ef05d1
1 changed files with 5 additions and 2 deletions
|
@ -1034,8 +1034,10 @@ UNIT_KELVIN = "K"
|
|||
UNIT_KILOGRAM = "kg"
|
||||
UNIT_KILOMETER = "km"
|
||||
UNIT_KILOMETER_PER_HOUR = "km/h"
|
||||
UNIT_KILOVOLT_AMPS_REACTIVE = "kVAr"
|
||||
UNIT_KILOVOLT_AMPS_REACTIVE_HOURS = "kVArh"
|
||||
UNIT_KILOVOLT_AMPS = "kVA"
|
||||
UNIT_KILOVOLT_AMPS_HOURS = "kVAh"
|
||||
UNIT_KILOVOLT_AMPS_REACTIVE = "kVAR"
|
||||
UNIT_KILOVOLT_AMPS_REACTIVE_HOURS = "kVARh"
|
||||
UNIT_KILOWATT = "kW"
|
||||
UNIT_KILOWATT_HOURS = "kWh"
|
||||
UNIT_LUX = "lx"
|
||||
|
@ -1066,6 +1068,7 @@ UNIT_SECOND = "s"
|
|||
UNIT_STEPS = "steps"
|
||||
UNIT_VOLT = "V"
|
||||
UNIT_VOLT_AMPS = "VA"
|
||||
UNIT_VOLT_AMPS_HOURS = "VAh"
|
||||
UNIT_VOLT_AMPS_REACTIVE = "VAR"
|
||||
UNIT_VOLT_AMPS_REACTIVE_HOURS = "VARh"
|
||||
UNIT_WATT = "W"
|
||||
|
|
Loading…
Reference in a new issue