mirror of
https://github.com/home-assistant/core.git
synced 2025-11-24 18:26:58 +00:00
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:
@@ -26,7 +26,7 @@ SENSORS = {
|
||||
'V_PERCENTAGE': ['%', 'mdi:percent'],
|
||||
'V_LEVEL': {
|
||||
'S_SOUND': ['dB', 'mdi:volume-high'], 'S_VIBRATION': ['Hz', None],
|
||||
'S_LIGHT_LEVEL': ['lux', 'white-balance-sunny']},
|
||||
'S_LIGHT_LEVEL': ['lx', 'white-balance-sunny']},
|
||||
'V_ORP': ['mV', None],
|
||||
'V_EC': ['μS/cm', None],
|
||||
'V_VAR': ['var', None],
|
||||
|
||||
Reference in New Issue
Block a user