Skip to content

Backport new enums from 2.0.0 branch (non-breaking additions only)#2042

Merged
iMicknl merged 2 commits into
mainfrom
feature/backport-new-enums
May 20, 2026
Merged

Backport new enums from 2.0.0 branch (non-breaking additions only)#2042
iMicknl merged 2 commits into
mainfrom
feature/backport-new-enums

Conversation

@iMicknl
Copy link
Copy Markdown
Owner

@iMicknl iMicknl commented May 20, 2026

Backport new enum members from v2/main to main without any breaking changes:

  • OverkizCommand: +271 new command members
  • OverkizCommandParam: +107 new parameter members
  • Protocol: add SONOS
  • UIClass: add SCENE, SCENE_LAUNCHER_CONTROLLER, SWITCH
  • UIWidget: +28 new widget members
  • UIClassifier: new enum class

Backport new enum members from v2/main to main without any breaking changes:
- OverkizCommand: +271 new command members
- OverkizCommandParam: +107 new parameter members
- Protocol: add SONOS
- UIClass: add SCENE, SCENE_LAUNCHER_CONTROLLER, SWITCH
- UIWidget: +28 new widget members
- UIClassifier: new enum class

Breaking changes from v2/main intentionally excluded:
- No class renames (CommandMode->ExecutionMode)
- No value changes (FURTHER_NOTICE, UIClass.UNKNOWN, UIWidget.UNKNOWN)
- No member renames (UIWidget attribute name changes)
- No UnknownEnumMixin refactor (kept _missing_ methods)
- No Python 3.12+ only imports (kept backports.strenum compat)
@iMicknl iMicknl requested a review from tetienne as a code owner May 20, 2026 19:07
Copilot AI review requested due to automatic review settings May 20, 2026 19:07
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

This PR backports non-breaking enum additions from the v2/main (2.0.0) branch into main, expanding the set of supported commands, UI metadata types, and protocols recognized by the library.

Changes:

  • Extended OverkizCommand and OverkizCommandParam with many new enum members.
  • Added new UI-related enum members and introduced the new UIClassifier enum.
  • Added SONOS to the Protocol enum.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pyoverkiz/enums/ui.py Adds new UIClass/UIWidget members and introduces the new UIClassifier enum.
pyoverkiz/enums/protocol.py Adds Protocol.SONOS.
pyoverkiz/enums/command.py Backports a large set of new command and parameter enum members.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyoverkiz/enums/command.py
@iMicknl iMicknl merged commit eb7e46d into main May 20, 2026
13 checks passed
@iMicknl iMicknl deleted the feature/backport-new-enums branch May 20, 2026 19:09
@iMicknl iMicknl added the enhancement New feature or request label May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants