Skip to content

Incorporate various improvements for the ws66i integration#71717

Merged
MartinHjelmare merged 5 commits intohome-assistant:devfrom
ssaenger:ws66i
May 29, 2022
Merged

Incorporate various improvements for the ws66i integration#71717
MartinHjelmare merged 5 commits intohome-assistant:devfrom
ssaenger:ws66i

Conversation

@ssaenger
Copy link
Copy Markdown
Contributor

Proposed change

This PR contains 3 commits:

  1. General improvements to code as requested by MartinHjelmare in PR #56094
  2. Remove custom services that can be replicated with scenes, as requested by frenck in PR #56094
  3. Addresses an undesired behavior with setting the volume of a zone while that zone is muted. The WS66i amp ignores volume changes for a zone if that zone is muted. This means that turning on a scene while a zone is muted will cause the volume state to not be set. The fix is to follow the same behavior as the WS66i keypad controllers, which is to unmute before changing the volume.

If #3 doesn't belong to this PR, I can create a new PR just for it.

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)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • 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
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

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 link to the changelog, or at minimum a diff between library versions is added to the PR description.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

To help with the load of incoming pull requests:

@ssaenger ssaenger changed the title ws66i Integration: Implement requested changes Incorporate various improvements for the ws66i integration May 12, 2022
@frenck frenck added the smash Indicator this PR is close to finish for merging or closing label May 16, 2022
@ssaenger
Copy link
Copy Markdown
Contributor Author

ssaenger commented May 24, 2022 via email

Copy link
Copy Markdown
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

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

Thanks!

@MartinHjelmare MartinHjelmare added this to the 2022.6.0 milestone May 29, 2022
@MartinHjelmare
Copy link
Copy Markdown
Member

MartinHjelmare commented May 29, 2022

Adding this to the milestone to avoid releasing the integration with the custom services which would make it a breaking change later when we remove the services.

@MartinHjelmare MartinHjelmare merged commit 1d57626 into home-assistant:dev May 29, 2022
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants