-
Notifications
You must be signed in to change notification settings - Fork 28
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 info about Gen4 devices #750
Conversation
aioshelly/const.py
Outdated
@@ -918,6 +922,34 @@ class ShellyDevice: | |||
gen=GEN3, | |||
supported=True, | |||
), | |||
MODEL_1PM_G4: ShellyDevice( | |||
model="S4SW-001P16EU", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we always write the model manually instead of using MODEL_1PM_G4 as it's already there ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I don't know 😄
Thx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #750 +/- ##
==========================================
+ Coverage 38.73% 38.91% +0.18%
==========================================
Files 15 15
Lines 1451 1457 +6
==========================================
+ Hits 562 567 +5
- Misses 889 890 +1 ☔ View full report in Codecov by Sentry. |
No description provided.