024-09-23 20:23:10.376 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up econet300 platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/econet300/binary_sensor.py", line 223, in async_setup_entry
entities = entities + create_mixer_sensors(coordinator, api)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/econet300/binary_sensor.py", line 205, in create_mixer_sensors
description.key,
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'description' where it is not associated with a value
024-09-23 20:23:10.376 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up econet300 platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/econet300/binary_sensor.py", line 223, in async_setup_entry entities = entities + create_mixer_sensors(coordinator, api) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/econet300/binary_sensor.py", line 205, in create_mixer_sensors description.key, ^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'description' where it is not associated with a value