Skip to content

Fix options flow crash when a device is removed from B-hyve account#386

Merged
sebr merged 1 commit intomainfrom
invalid-config-options
Apr 13, 2026
Merged

Fix options flow crash when a device is removed from B-hyve account#386
sebr merged 1 commit intomainfrom
invalid-config-options

Conversation

@sebr
Copy link
Copy Markdown
Owner

@sebr sebr commented Apr 13, 2026

Summary

  • Filters saved device defaults in the options flow to only include devices that still exist in the B-hyve API response
  • Previously, if a device was removed from the B-hyve account, its stale ID remained in the config entry options and caused a validation error: "is not a valid option for dictionary value @ data['devices']"

Closes #203

@sebr sebr merged commit 289b91e into main Apr 13, 2026
4 checks passed
@sebr sebr deleted the invalid-config-options branch April 13, 2026 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User input malformed: 5d250e7b4f0c7d841e14b717 is not a valid option for dictionary value @ data['devices']

1 participant