Replace redacted labels in test fixtures with meaningful names in overkiz#170988
Merged
justanotherariel merged 1 commit intoMay 18, 2026
Merged
Conversation
The fixture files had device labels obfuscated with asterisk patterns from pyoverkiz's obfuscate_string function. Replace these with descriptive names based on device type (gateway pods, protocol stacks, sensors, speakers, etc.) to improve test readability. Also replaces redacted core:NameState values and HomeKit setup codes with realistic fake values.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Overkiz test fixtures and snapshots to replace previously obfuscated device labels/NameState values with descriptive, realistic names to improve test readability.
Changes:
- Replace asterisk-obfuscated
labelandcore:NameStatevalues in multiple Overkiz setup fixtures with meaningful device names. - Replace redacted HomeKit setup payload/code strings with realistic fake values in relevant fixtures.
- Update Overkiz button snapshot expectations (
test_button.ambr) to match the renamed devices/entities.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tests/components/overkiz/snapshots/test_button.ambr |
Updates entity registry/state snapshots to reflect the new descriptive device names and resulting entity IDs/unique IDs. |
tests/components/overkiz/fixtures/setup/local_somfy_tahoma_v2_europe.json |
Replaces obfuscated gateway/alarm/light labels and core:NameState values with descriptive names. |
tests/components/overkiz/fixtures/setup/local_somfy_tahoma_switch_europe.json |
Replaces obfuscated TaHoma gateway/stack labels and core:NameState values with descriptive names. |
tests/components/overkiz/fixtures/setup/local_somfy_tahoma_switch_europe_2.json |
Replaces obfuscated TaHoma/Zigbee-related labels and core:NameState values with descriptive names. |
tests/components/overkiz/fixtures/setup/local_somfy_connexoon_europe.json |
Replaces obfuscated Connexoon labels and core:NameState values with descriptive names. |
tests/components/overkiz/fixtures/setup/cloud_somfy_tahoma_v2_europe.json |
Replaces obfuscated cloud device labels/NameState values (and HomeKit setup strings) with descriptive names. |
tests/components/overkiz/fixtures/setup/cloud_somfy_tahoma_switch_sc_europe.json |
Replaces obfuscated cloud TaHoma Switch labels/NameState values and HomeKit setup strings with descriptive names. |
tests/components/overkiz/fixtures/setup/cloud_somfy_connexoon_rts_asia.json |
Replaces obfuscated Connexoon labels and core:NameState values with descriptive names. |
jnimmo
pushed a commit
to jnimmo/core
that referenced
this pull request
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
The fixture files had device labels obfuscated with asterisk patterns from pyoverkiz's obfuscate_string function. Replace these with descriptive names based on device type (gateway pods, protocol stacks, sensors, speakers, etc.) to improve test readability, and match the real-world.
Also replaces redacted core:NameState values and HomeKit setup codes with realistic fake values.
Type of change
Additional information
Checklist
ruff format homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all.To help with the load of incoming pull requests: