python-kasa/kasa/tapo
Teemu R 10fc2c3c54
Pull up emeter handling to tapodevice base class (#601)
* Pull has_emeter property up to tapodevice base class

This will also use the existence of energy_monitoring in the component_nego query to decide if the device has the service.

* Move emeter related functions to tapodevice

* Remove supported_modules override for now

This should be done in a separate PR, if we want to expose the available components to cli and downstreams

* Dedent extra reqs

* Move extra_reqs initialization

* Fix tests
2024-01-03 19:04:34 +01:00
..
__init__.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
tapobulb.py Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00
tapodevice.py Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00
tapoplug.py Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00