Skip to content

feat: Add oven attributes and core:FirmwareRevisionState - #2319

Merged
iMicknl merged 1 commit into
mainfrom
feat/add-oven-states-attributes
Oct 28, 2026
Merged

iMicknl merged 1 commit into
mainfrom
feat/add-oven-states-attributes

Conversation

@iMicknl

@iMicknl iMicknl commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

Adds the oven states and attributes that are missing from pyoverkiz. They were found by comparing the fixture from home-assistant/core#189108 (Sauter / Brandt SOP6615LB, ogp:Oven, widget DynamicOven) against the current enums.

Adds that setup as a test fixture, then regenerates the enums from it via utils/generate_enums.py.

Changes

  • New fixture tests/fixtures/setup/setup_sauter_oven.json (1 device, Sauter cloud, already anonymized in the Home Assistant PR).
  • pyoverkiz/enums/state.py
    • OverkizAttribute: CORE_SUBSET_ID, CORE_SUPPORTED_CYCLE_STAGES, CORE_SUPPORTED_INTENSITIES, CORE_SUPPORTED_MODES_BY_CATEGORY, CORE_SUPPORTED_RECIPES, CORE_SUPPORTED_RECIPES_BY_CATEGORY, CORE_TARGET_TIME_LOWER_BOUND, CORE_TARGET_TIME_UPPER_BOUND, CORE_TARGET_WEIGHT_LOWER_BOUND, CORE_TARGET_WEIGHT_UPPER_BOUND
    • OverkizState: CORE_FIRMWARE_REVISION_STATE = "core:FirmwareRevisionState". The generator skipped this state because its default name CORE_FIRMWARE_REVISION is already taken by the existing (legacy) OverkizState.CORE_FIRMWARE_REVISION = "core:FirmwareRevision". It was added under a _STATE suffix so the existing member is left unchanged. Regenerating keeps the name.
  • tests/test_client.py: added the fixture to the test_get_setup and test_get_diagnostic_data parametrize lists.

All other states, commands, the widget, the UI class and the UI profiles of this device were already present.

Adds a Sauter / Brandt oven (ogp:Oven, DynamicOven) setup fixture from home-assistant/core#189108 and regenerates the enums from it.
Copilot AI balanced review requested due to automatic review settings October 28, 2026 18:43
@iMicknl
iMicknl requested a review from tetienne as a code owner October 28, 2026 18:44

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions github-actions Bot added the feature New feature or capability label Oct 28, 2026
@iMicknl
iMicknl merged commit 5f31858 into main Oct 28, 2026
11 checks passed
@iMicknl
iMicknl deleted the feat/add-oven-states-attributes branch October 28, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants