Skip to content

Fix UniqueIdVersion enum can not be None#60

Merged
Breina merged 2 commits intoBreina:masterfrom
erwin314:patch-2
Feb 19, 2026
Merged

Fix UniqueIdVersion enum can not be None#60
Breina merged 2 commits intoBreina:masterfrom
erwin314:patch-2

Conversation

@erwin314
Copy link
Copy Markdown
Contributor

Component fails to start if entry.data.get(CONF_DEVICE_UNIQUE_ID_VERSION) is None.
This fix makes sure the None value is checked before casting it to Enum.

Removed warning log for using older version of device's unique ID. There is not much the user can do to fix this.
@Breina Breina merged commit e0e9554 into Breina:master Feb 19, 2026
2 checks passed
@Breina
Copy link
Copy Markdown
Owner

Breina commented Feb 19, 2026

Look good, thanks for the fix!

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.

2 participants