Error setting up Integration
Created by: timsavory
Added the source to custom components, added the integration, authenticated and then received this error in the logs:
Logger: homeassistant.components.sensor Source: custom_components/hildebrandglow/sensor.py:55 Integration: Sensor (documentation, issues) First occurred: 14:22:51 (2 occurrences) Last logged: 14:26:08
Error while setting up hildebrandglow platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/hildebrandglow/sensor.py", line 55, in async_setup_entry async_add_entities([sensor]) UnboundLocalError: local variable 'sensor' referenced before assignment