jontofront / ecoNET-300-Home-Assistant-Integration

ecoNET 300 integration to HA
11 stars 4 forks source link

beta version.binary_sensor #62

Closed jontofront closed 1 month ago

jontofront commented 2 months ago

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