Replies: 1 comment
-
I believe this has been fixed. If not open a bug report! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Logger: homeassistant.components.sensor
Quelle: helpers/entity_platform.py:364
Integration: Sensor (Dokumentation, Probleme)
Erstmals aufgetreten: 13:30:20 (5 Vorkommnisse)
Zuletzt protokolliert: 13:30:47
Error while setting up magic_areas platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in asyncsetup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/magic_areas/sensor.py", line 49, in async_setup_entry
add_entities_when_ready(hass, async_add_entities, config_entry, add_sensors)
File "/config/custom_components/magic_areas/add_entities_when_ready.py", line 33, in add_entities_when_ready
callback_fn(area, async_add_entities)
File "/config/custom_components/magic_areas/sensor.py", line 58, in add_sensors
entities_to_add.extend(create_aggregate_sensors(area))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/magic_areas/sensor.py", line 124, in create_aggregate_sensors
AreaAggregateSensor(
File "/config/custom_components/magic_areas/sensor.py", line 157, in __init
unit_of_measurement = list(DEVICE_CLASS_UNITS[device_class])[0]
~~~~~~^^^^^^^^^^^^^^
KeyError: 'monetary'
Beta Was this translation helpful? Give feedback.
All reactions