IndexError (list index out of range) fixed. (#12858)
This commit is contained in:
1 parent
99eeb01525
commit
7d8a309017
1 file changed
+2
-2
@@ -10,8 +10,8 @@ _LOGGER = logging.getLogger(__name__)
|
||||
SENSOR_TYPES = {
|
||||
'temperature': [TEMP_CELSIUS, 'mdi:thermometer'],
|
||||
'humidity': ['%', 'mdi:water-percent'],
|
||||
'illumination': ['lm'],
|
||||
'lux': ['lx'],
|
||||
'illumination': ['lm', 'mdi:weather-sunset'],
|
||||
'lux': ['lx', 'mdi:weather-sunset'],
|
||||
'pressure': ['hPa', 'mdi:gauge']
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user