Skip to content

Restore party_mode as primary, deprecate pause_mode#1162

Merged
MTrab merged 4 commits intomasterfrom
fix/re-rename-party-mode
Mar 28, 2026
Merged

Restore party_mode as primary, deprecate pause_mode#1162
MTrab merged 4 commits intomasterfrom
fix/re-rename-party-mode

Conversation

@MTrab
Copy link
Copy Markdown
Owner

@MTrab MTrab commented Mar 25, 2026

Summary

Mirrors the rename revert in pyworxcloud. party_mode was the correct canonical name; pause_mode was introduced by mistake and is now gone from the integration layer.

Changes

The Party Mode switch entity now uses key="party_mode", translation_key="party_mode", icon mdi:party-popper, and DeviceCapability.PARTY_MODE. The API call is updated to set_party_mode().

sensor.py reads party_mode_enabled from the schedule dict. All 16 translation files have the entity switch key renamed from pause_mode to party_mode; the English name is set to "Party mode".

Testing

Notes

Semver proposal: patch — purely cosmetic rename revert with no functional behaviour change.

MTrab added 3 commits March 25, 2026 12:01
- switch.py: key/translation_key/icon/capability/method calls updated to party_mode
- sensor.py: party_mode_enabled key
- translations/*.json: pause_mode key renamed to party_mode; en.json name set to Party mode
Mirrors the rename revert in pyworxcloud. party_mode is the correct
canonical name; pause_mode was introduced by mistake.

- switch.py: key, translation_key, icon (party-popper), capability, and API call updated
- sensor.py: party_mode_enabled key
- translations/*.json: entity.switch key renamed pause_mode -> party_mode
- en.json: name set to "Party mode"
@github-actions github-actions Bot added bug Something isn't working patch For patch versions labels Mar 25, 2026
@MTrab MTrab changed the title fix: Restore party_mode as primary, deprecate pause_mode Restore party_mode as primary, deprecate pause_mode Mar 25, 2026
@MTrab MTrab merged commit 656569f into master Mar 28, 2026
4 checks passed
@MTrab MTrab deleted the fix/re-rename-party-mode branch March 28, 2026 16:39
@MTrab MTrab mentioned this pull request Mar 28, 2026
@MTrab MTrab added the skip-changelog Used for small, non integration repo updates label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch For patch versions skip-changelog Used for small, non integration repo updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant