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

🐛 Makes ResourceTypes serialisable #445

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BenoitAnastay
Copy link

For API calls with ResourceTypes as arguments, this Enum must be converted to string.

PR not tested as I'm on my phone

Fix #407

For API calls with ResourceTypes as arguments, this Enum must be converted to string.

PR not tested as I'm on my phone 

Fix home-assistant-libs#407
@marcelveldt
Copy link
Collaborator

This fix does not make a lot of sense, converting from/to string is handled by the (de)serializing logic.
Sorry, I can't accept it this way.

@BenoitAnastay
Copy link
Author

It does fix the updating of scenes with only one argument.

I don't see any better 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.

ResourceType not serializable
2 participants