Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switches for Circuit and Essential Selection - No Entities #9

Open
tylas13 opened this issue Jan 31, 2023 · 0 comments
Open

Switches for Circuit and Essential Selection - No Entities #9

tylas13 opened this issue Jan 31, 2023 · 0 comments

Comments

@tylas13
Copy link

tylas13 commented Jan 31, 2023

Seeing an issue with the Integration not populating entities for the user controlled switches and the Essential/Non-Essential Selection.

Initially they stopped responding, but after re-install of the Integration (and after re-initializing door lock-out from Span) the switches and selection are not populated at all. All sensors happen to be working however.

Error in Log:
Error while setting up span_panel platform for select Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 289, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/span_panel/select.py", line 92, in async_setup_entry if span_panel.circuits.is_user_controllable(id): File "/config/custom_components/span_panel/span_panel.py", line 308, in is_user_controllable return self.json_data[id][CIRCUITS_IS_USER_CONTROLLABLE] KeyError: 'is_user_controllable'

Error while setting up span_panel platform for switch Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 289, in _async_setup_platform await asyncio.shield(task) File "/config/custom_components/span_panel/switch.py", line 94, in async_setup_entry if span_panel.circuits.is_user_controllable(id): File "/config/custom_components/span_panel/span_panel.py", line 308, in is_user_controllable return self.json_data[id][CIRCUITS_IS_USER_CONTROLLABLE] KeyError: 'is_user_controllable'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant