Skip to content

Bump pyrisco to 0.8.1 - #179818

Merged
mib1185 merged 2 commits into
home-assistant:devfrom
Wall-E-5:Wall-E-5-patch-1
Aug 22, 2026
Merged

mib1185 merged 2 commits into
home-assistant:devfrom
Wall-E-5:Wall-E-5-patch-1

Conversation

@Wall-E-5

@Wall-E-5 Wall-E-5 commented Aug 22, 2026 •

Copy link
Copy Markdown
Contributor

Updates the pyrisco dependency from 0.8.0 to 0.8.1.

PyRisco 0.8.1 includes support for Risco LightSYS Air (RW432MPV), added in OnFreund/pyrisco#47.

With pyrisco 0.8.0, LightSYS Air causes KeyError: 'RW432MPV' because the panel type is not supported.

I tested pyrisco 0.8.1 locally with the Risco integration and my LightSYS Air. The integration connects and works correctly with the updated dependency.

Related PyRisco PR:
OnFreund/pyrisco#47

Changes between PyRisco 0.8.0 and 0.8.1:
OnFreund/pyrisco@v0.8.0...v0.8.1

PyRisco 0.8.1 release:
https://pypi.org/project/pyrisco/0.8.1/

Breaking change

Proposed change

Update the Risco integration to use pyrisco 0.8.1.

This version contains the required RW432MPV panel support for Risco LightSYS Air.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to frontend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies a diff between library versions and ideally a link to the changelog/release notes is added to the PR description.

To help with the load of incoming pull requests:

Updates the pyrisco dependency from 0.8.0 to 0.8.1.

PyRisco 0.8.1 includes support for Risco LightSYS Air (RW432MPV), added in OnFreund/pyrisco#47.

With pyrisco 0.8.0, LightSYS Air causes KeyError: 'RW432MPV' because the panel type is not supported.

I tested pyrisco 0.8.1 locally with the Risco integration and my LightSYS Air. The integration connects and works correctly with the updated dependency.

OnFreund/pyrisco#47?
Copilot AI balanced review requested due to automatic review settings August 22, 2026 13:40
@home-assistant home-assistant Bot added cla-needed dependency Pull requests marked as a dependency upgrade integration: risco small-pr PRs with less than 30 lines. labels Aug 22, 2026

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @Wall-E-5

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant

Copy link
Copy Markdown
Contributor

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@home-assistant
home-assistant Bot marked this pull request as draft August 22, 2026 13:40
@home-assistant

Copy link
Copy Markdown
Contributor

Hey there @OnFreund, mind taking a look at this pull request as it has been labeled with an integration (risco) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of risco can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant mark-draft Mark the pull request as draft.
  • @home-assistant ready-for-review Remove the draft status from the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign risco Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant update-branch Update the pull request branch with the base branch.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the pull request.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates Risco’s pyrisco dependency to add LightSYS Air support.

Changes:

  • Bumps pyrisco from 0.8.0 to 0.8.1.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Wall-E-5
Wall-E-5 marked this pull request as ready for review August 22, 2026 13:47
Copilot AI review requested due to automatic review settings August 22, 2026 14:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@github-actions

Copy link
Copy Markdown
Contributor

Check requirements

Checked at commit 15950f1.

⚠️ Some checks require attention — see the details below.

Package Old New No Advisories Not Yanked Repo Public CI Upload Release Pipeline Security PR Link Async Safe
pyrisco 0.8.0 0.8.1 ✅ ✅ ✅ ✅ ✅ ☑️ ❌ ✅
📦 pyrisco: 0.8.0 → 0.8.1
  • No Advisories: ✅ No active advisories reported by PyPI for version 0.8.1.
  • Not Yanked: ✅ Version 0.8.1 is a live (non-yanked) release.
  • Repo Public: ✅ https://github.com/OnFreund/PyRisco is publicly accessible.
  • CI Upload: ✅ Trusted Publisher attestation found (GitHub).
  • Release Pipeline: ✅ OIDC via Trusted Publisher attestation (GitHub); automated CI upload verified by PyPI.
  • Security: ☑️ Baseline scan found nothing obvious in pyrisco/__init__.py, pyproject.toml, pyrisco/common.py, pyrisco/local/panels.py. This is not a security review — only the cheap checks were run.
  • PR Link: ❌ PR description should link to a changelog or compare URL on https://github.com/OnFreund/PyRisco that mentions both 0.8.0 and 0.8.1. The description links to Update panels.py for Lightsys Air (RW432MPV) OnFreund/pyrisco#47 (no version numbers) and https://pypi.org/project/pyrisco/0.8.1/ (PyPI only). A compare URL such as OnFreund/pyrisco@v0.8.0...v0.8.1 would satisfy this requirement.
  • Async Safe: ✅ No new blocking calls introduced in 0.8.0 → 0.8.1. The only change is in pyrisco/local/panels.py, adding a sync capabilities function for the RW432MPV panel model.

Generated by Check requirements (AW) · sonnet46 · 39.9 AIC · ⌖ 5.2 AIC · ⊞ 9.2K · ◷

@mib1185 mib1185 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thx @Wall-E-5 👍

@mib1185
mib1185 merged commit fc4e690 into home-assistant:dev Aug 22, 2026
51 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed dependency Pull requests marked as a dependency upgrade integration: risco Quality Scale: No score small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants