IndexError (list index out of range) fixed. (#12858)

This commit is contained in:
Sebastian Muszynski 2018-03-03 09:15:19 +01:00 committed by Paulus Schoutsen
parent 99eeb01525
commit 7d8a309017

View File

@ -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']
}