Skip to content

Update panels.py for Lightsys Air (RW432MPV) - #47

Merged
OnFreund merged 1 commit into
OnFreund:masterfrom
Wall-E-5:patch-1
Aug 21, 2026
Merged

OnFreund merged 1 commit into
OnFreund:masterfrom
Wall-E-5:patch-1

Conversation

@Wall-E-5

@Wall-E-5 Wall-E-5 commented Jun 21, 2026 •

Copy link
Copy Markdown
Contributor

Logs:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/risco/config_flow.py", line 187, in async_step_local
info = await validate_local_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/risco/config_flow.py", line 100, in validate_local_input
await risco.connect()
File "/usr/local/lib/python3.14/site-packages/pyrisco/local/risco_local.py", line 37, in connect
self._panel_capabilities = panel_capabilities(panel_type, firmware)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pyrisco/local/panels.py", line 88, in panel_capabilities
caps = PANELSnormalized
~~~~~~^^^^^^^^^^^^
KeyError: 'RW432MPV'

I edited the file panels.py to add the panel model Lightsys Air (RW432MPV) and that fixed the problem for me and I was able to connect locally to the alarm panel.

Adding the panel Lightsys Air (RW432MPV)
@Wall-E-5

Wall-E-5 commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor Author

Hi @OnFreund, just following up on this PR.

I have tested the change successfully with a real Risco LightSYS Air (RW432MPV) locally through Home Assistant.
The current pyrisco version raises KeyError: 'RW432MPV', while this change adds the panel definition and allows the connection to work.

This is also affecting Home Assistant users with the LightSYS Air. See HA discussion #3500: https://github.com/orgs/home-assistant/discussions/3500

Would you be able to take a look when you have a chance?

@OnFreund

Copy link
Copy Markdown
Owner

Sorry, I missed this PR

@OnFreund OnFreund left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Wall-E-5

@OnFreund
OnFreund merged commit 2a4f1ff into OnFreund:master Aug 21, 2026
@OnFreund

Copy link
Copy Markdown
Owner

@Wall-E-5 Wall-E-5 mentioned this pull request Aug 22, 2026
3 of 21 tasks
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

Successfully merging this pull request may close these issues.

2 participants