mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
IndexError (list index out of range) fixed. (#12858)
This commit is contained in:
parent
99eeb01525
commit
7d8a309017
@ -10,8 +10,8 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
SENSOR_TYPES = {
|
SENSOR_TYPES = {
|
||||||
'temperature': [TEMP_CELSIUS, 'mdi:thermometer'],
|
'temperature': [TEMP_CELSIUS, 'mdi:thermometer'],
|
||||||
'humidity': ['%', 'mdi:water-percent'],
|
'humidity': ['%', 'mdi:water-percent'],
|
||||||
'illumination': ['lm'],
|
'illumination': ['lm', 'mdi:weather-sunset'],
|
||||||
'lux': ['lx'],
|
'lux': ['lx', 'mdi:weather-sunset'],
|
||||||
'pressure': ['hPa', 'mdi:gauge']
|
'pressure': ['hPa', 'mdi:gauge']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user