-
-
Notifications
You must be signed in to change notification settings - Fork 223
Add support for tapo bulbs #558
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
Conversation
842528e
to
eebfdf1
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #558 +/- ##
==========================================
- Coverage 79.66% 79.56% -0.11%
==========================================
Files 36 37 +1
Lines 2995 3083 +88
Branches 779 804 +25
==========================================
+ Hits 2386 2453 +67
- Misses 536 548 +12
- Partials 73 82 +9 ☔ View full report in Codecov by Sentry. |
2866eee
to
e1babd3
Compare
The bulbs are organized to separate categories for testing depending on the available features. I think this requires some restructuring to avoid duplicating the categorization per device family, perhaps this should wait until we have device type interfaces in place. |
Activating the effect does not work as I thought it would, but this implements rest of the interface from SmartLightStrip.
e8954af
to
a63d543
Compare
Oddly enough, the discovery response differs from the sysinfo response on the model information. Anyway, I think we should just merge and continue improving it in other PRs. |
Do you mean discovery has (EU) on the end and get_device_info doesn't? That's how I got tripped up dropping the region from the fixture name. Other than that everything else looks great. I've just put comments here but in future do you want me to start a review and approve etc? |
Ahh, indeed, didn't notice that but it's a non-issue! :-)
Great, thanks! Sure thing, an extra pair of eyes looking over the changes is always appreciated. I'll merge this now and leave further improvements and cleanups for future PRs. |
This is a preliminary PR to add support for tapo bulbs.
Basic functionality is tested to work with L530 but this is still a WIP.
Based on #552 which should be merged before this.
Cli output
Note, the discovery reports the model as L530E in contrast to sysinfo response.