Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't use auto() for str enum #1261

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

piitaya
Copy link
Contributor

@piitaya piitaya commented Nov 28, 2024

Don't use auto() for str enum because it's not supported with HA 2024.12. I quickly solve it by hardcoding the number value but we should have another way to do it.

Fixes #1258

@piitaya piitaya changed the title Don't use auto() for str enum fix: don't use auto() for str enum Nov 28, 2024
@fuatakgun fuatakgun merged commit 46319f0 into fuatakgun:master Dec 4, 2024
3 of 4 checks passed
@fuatakgun
Copy link
Owner

I missed to merge this :-) thanks again

@fuatakgun
Copy link
Owner

fuatakgun commented Dec 4, 2024 via email

@NT1970
Copy link

NT1970 commented Dec 4, 2024

Hello, i'm very new to home assistant. Been using the Eufy integration. Been good until the update.
I really don't understand what ( auto() for str enum ) means and where to find this or correct it.
Can anyone please guide me?

@fuatakgun
Copy link
Owner

Get the latest version, this has been published there

@NT1970
Copy link

NT1970 commented Dec 4, 2024

Thank you works! Appreciate the quick reply!

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.

Integration not loaded on HA 2024.12.0b0
3 participants