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

Add support for Gen3 devices #457

Merged
merged 8 commits into from
Dec 3, 2023
Merged

Add support for Gen3 devices #457

merged 8 commits into from
Dec 3, 2023

Conversation

bieniu
Copy link
Collaborator

@bieniu bieniu commented Dec 1, 2023

The API for generation 3 is practically the same as for generation 2, so only minor changes are needed here.

I tested this change with gen1, gen2 and gen3 devices and see no problems.

@@ -175,7 +177,6 @@
MODEL_PRO_2_V3: "Shelly Pro 2",
MODEL_PRO_2PM: "Shelly Pro 2PM",
MODEL_PRO_2PM_V2: "Shelly Pro 2PM",
MODEL_PRO_2PM_V2: "Shelly Pro 2PM",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Duplicate removed

@bieniu bieniu marked this pull request as ready for review December 2, 2023 14:13
example.py Outdated Show resolved Hide resolved
Copy link
Contributor

@thecode thecode left a comment

Choose a reason for hiding this comment

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

Thanks!

@chemelli74 chemelli74 merged commit ef3d29a into main Dec 3, 2023
3 checks passed
@chemelli74 chemelli74 deleted the gen3 branch December 3, 2023 18:08
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.

3 participants