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

Handling of unknown DeviceTypes #178

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

hayribakici
Copy link
Collaborator

This PR fixes #177 .
Since the list of supported DeviceType values could not be found in the API documentation (e.g. SmartWatch), the library sets unknown enum values as DeviceType.Unknown.

Copy link
Owner

@rinukkusu rinukkusu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM! 👍

hayribakici and others added 2 commits November 27, 2023 16:18
only when DeviceType is not in the enum.
Adds extra comment
@rinukkusu rinukkusu merged commit 703a340 into rinukkusu:master Nov 27, 2023
2 checks passed
@hayribakici hayribakici deleted the unknown_deviceType branch November 27, 2023 15:23
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.

DeviceType 'Smartwatch' is missing
2 participants