Skip to content

Add tilt controls for UpDownSheerScreen in Overkiz#170563

Merged
iMicknl merged 6 commits into
home-assistant:devfrom
dankarization:feat/overkiz-updownsheerscreen-tilt
May 16, 2026
Merged

Add tilt controls for UpDownSheerScreen in Overkiz#170563
iMicknl merged 6 commits into
home-assistant:devfrom
dankarization:feat/overkiz-updownsheerscreen-tilt

Conversation

@dankarization
Copy link
Copy Markdown
Contributor

@dankarization dankarization commented May 14, 2026

Breaking change

Proposed change

Add support for tilt commands on Overkiz RTS sheer screens (UIWidget.UP_DOWN_SHEER_SCREEN).

This mirrors the existing RTS venetian blind override and maps the sheer screen tilt actions to tiltPositive / tiltNegative, which enables Home Assistant's tilt open/close services for this widget.

The PR also adds fixture coverage for a real rts:SheerBlindRTSComponent setup and extends the service tests with the new widget.

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:

Copilot AI review requested due to automatic review settings May 14, 2026 08:26
@dankarization dankarization requested a review from iMicknl as a code owner May 14, 2026 08:26
Copy link
Copy Markdown
Contributor

@home-assistant home-assistant Bot left a comment

Choose a reason for hiding this comment

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

Hi @dankarization

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 home-assistant Bot added cla-needed has-tests integration: overkiz small-pr PRs with less than 30 lines. Top 200 Integration is ranked within the top 200 by usage labels May 14, 2026
@home-assistant home-assistant Bot marked this pull request as draft May 14, 2026 08:26
@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
Copy link
Copy Markdown
Contributor

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

Code owner commands

Code owners of overkiz 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 overkiz 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.

@dankarization dankarization marked this pull request as ready for review May 14, 2026 08:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds support for the Overkiz UpDownSheerScreen RTS cover device by registering a new cover description and adding corresponding test coverage and fixtures.

Changes:

  • Register a new OverkizCoverDescription for UP_DOWN_SHEER_SCREEN mirroring the existing UpDownVenetianBlind tilt behavior.
  • Add a fixture JSON simulating a Somfy Connexoon RTS setup that includes an UpDownSheerScreen device.
  • Extend test_cover.py with service action parametrizations and a tilt feature test for the new device type.

Reviewed changes

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

File Description
homeassistant/components/overkiz/cover.py Adds an OverkizCoverDescription entry for UP_DOWN_SHEER_SCREEN.
tests/components/overkiz/fixtures/setup/cloud_somfy_connexoon_rts_asia_with_sheer_screen.json New fixture containing a Somfy RTS setup including a sheer screen device.
tests/components/overkiz/test_cover.py Adds service action and tilt feature tests for the new sheer screen device.

@dankarization
Copy link
Copy Markdown
Contributor Author

CLA signed

@dankarization
Copy link
Copy Markdown
Contributor Author

Updated the PR with the fixture formatting fix (41e50978).

Local verification on my side:

  • pytest -q tests/components/overkiz/test_cover.py
  • targeted sheer/venetian tilt cases ✅

The CI rerun is in progress. The only non-code blocker I can see is required-labels (one of breaking-change / bugfix / code-quality / dependency / deprecation / new-feature / new-integration). I do not have permission to add labels from my side.

@iMicknl
Copy link
Copy Markdown
Member

iMicknl commented May 14, 2026

Thanks for your contribution! Have you tested the fix locally? And can you please include the original pull request template.

I will review later this week, but at a quick glance, the supported features test doesn't seem necessary as this is part of the snapshot already.

@dankarization
Copy link
Copy Markdown
Contributor Author

Yes, I have tested this locally on my blinds as a custom integration

Copy link
Copy Markdown
Member

@erwindouna erwindouna left a comment

Choose a reason for hiding this comment

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

Please restore the PR template, before a review can continue. :)

@home-assistant home-assistant Bot marked this pull request as draft May 14, 2026 09:08
@home-assistant home-assistant Bot requested a review from erwindouna May 14, 2026 09:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 3 out of 3 changed files in this pull request and generated no new comments.

Copy link
Copy Markdown
Member

@iMicknl iMicknl left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good. Could you add your device to an existing fixture? (e.g. one of the RTS fixtures). We try to limit the amount of new fixture files for cover entities.

@home-assistant home-assistant Bot marked this pull request as draft May 14, 2026 13:43
@dankarization dankarization marked this pull request as ready for review May 14, 2026 13:57
@dankarization
Copy link
Copy Markdown
Contributor Author

Done.

  • moved the SheerBlindRTSComponent device into the existing cloud_somfy_connexoon_rts_asia.json fixture
  • removed the extra cloud_somfy_connexoon_rts_asia_with_sheer_screen.json file
  • updated the cover snapshot
  • re-ran pytest -q tests/components/overkiz/test_cover.py: 71 passed

Latest commit: ad605ba6

Copilot AI review requested due to automatic review settings May 14, 2026 13:57
@home-assistant home-assistant Bot requested a review from iMicknl May 14, 2026 13:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 4 out of 4 changed files in this pull request and generated no new comments.

@iMicknl iMicknl changed the title Add tilt support for Overkiz RTS sheer screens Add tilt controls for UpDownSheerScreen in Overkiz May 14, 2026
@iMicknl iMicknl dismissed erwindouna’s stale review May 14, 2026 14:00

Feedback applied

Copy link
Copy Markdown
Member

@iMicknl iMicknl left a comment

Choose a reason for hiding this comment

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

Could you merge in the latest dev branch and resolve prek/pre-commit? There have been some changes in how line length is handled, and merging this PR will break CI.

@home-assistant home-assistant Bot marked this pull request as draft May 15, 2026 18:20
@iMicknl iMicknl marked this pull request as ready for review May 16, 2026 15:18
Copilot AI review requested due to automatic review settings May 16, 2026 15:18
@home-assistant home-assistant Bot requested a review from iMicknl May 16, 2026 15:18
@iMicknl iMicknl added this to the 2026.5.3 milestone May 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 4 out of 4 changed files in this pull request and generated no new comments.

@iMicknl iMicknl merged commit fc8949d into home-assistant:dev May 16, 2026
33 checks passed
Copilot AI pushed a commit to AlCalzone/homeassistant-core that referenced this pull request May 17, 2026
…0563)

Co-authored-by: Mick Vleeshouwer <mick@imick.nl>
Co-authored-by: AlCalzone <17641229+AlCalzone@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators May 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants