Sensor device classes (#14282)
* Added light device class, moved device classes to const * Removed unnecessary icons * Replace 'lux' with 'lx' * Fix comment * Changed device_class name
This commit is contained in:
parent
ec3ce4c80d
commit
95d27bd1fa
19 changed files with 92 additions and 79 deletions
|
@ -43,7 +43,7 @@ HM_UNIT_HA_CAST = {
|
|||
'ENERGY_COUNTER': 'Wh',
|
||||
'GAS_POWER': 'm3',
|
||||
'GAS_ENERGY_COUNTER': 'm3',
|
||||
'LUX': 'lux',
|
||||
'LUX': 'lx',
|
||||
'RAIN_COUNTER': 'mm',
|
||||
'WIND_SPEED': 'km/h',
|
||||
'WIND_DIRECTION': '°',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue