python-kasa/kasa
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
..
modules Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
tapo Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00
tests Pull up emeter handling to tapodevice base class (#601) 2024-01-03 19:04:34 +01:00
__init__.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
aestransport.py Fix dump_devinfo for unauthenticated (#593) 2023-12-29 20:42:02 +01:00
cli.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
credentials.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
device_factory.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
device_type.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
deviceconfig.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
discover.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
effects.py Add effect support for light strips (#293) 2022-03-21 22:10:12 +01:00
emeterstatus.py Use ruff and ruff format (#534) 2023-10-29 23:15:42 +01:00
exceptions.py Cleanup custom exception kwarg handling (#602) 2024-01-02 16:24:09 +01:00
iotprotocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
json.py Use orjson when already installed or with speedups extra (#466) 2023-06-18 01:03:04 +02:00
klaptransport.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
protocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartbulb.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartdevice.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartdimmer.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartlightstrip.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartplug.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartprotocol.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00
smartstrip.py Add DeviceConfig to allow specifying configuration parameters (#569) 2023-12-29 20:17:15 +01:00