1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 12:52:19 +01:00

Adjust some units (#852)

* Adjust some units

Fixes https://github.com/esphome/issues/issues/843

* Lint
This commit is contained in:
Otto Winter
2019-11-12 19:04:39 +01:00
committed by GitHub
parent 7b142525b4
commit 4f1a28d460
4 changed files with 11 additions and 8 deletions

View File

@@ -539,7 +539,7 @@ UNIT_DEGREES = u'°'
UNIT_EMPTY = ''
UNIT_G = 'G'
UNIT_HECTOPASCAL = 'hPa'
UNIT_HZ = 'hz'
UNIT_HERTZ = 'hz'
UNIT_KELVIN = 'K'
UNIT_KILOMETER = 'km'
UNIT_KILOMETER_PER_HOUR = 'km/h'
@@ -557,6 +557,8 @@ UNIT_PULSES_PER_MINUTE = 'pulses/min'
UNIT_SECOND = 's'
UNIT_STEPS = 'steps'
UNIT_VOLT = 'V'
UNIT_VOLT_AMPS = 'VA'
UNIT_VOLT_AMPS_REACTIVE = 'VAR'
UNIT_WATT = 'W'
DEVICE_CLASS_CONNECTIVITY = 'connectivity'