python-kasa/kasa/tests
Teemu R f9b5003da2
Add support for tapo bulbs (#558)
* Add support for tapo light bulbs

* Use TapoDevice for on/off

* Add tapobulbs to discovery

* Add partial support for effects

Activating the effect does not work as I thought it would,
but this implements rest of the interface from SmartLightStrip.

* Add missing __init__ for tapo package

* Make mypy happy

* Add docstrings to make ruff happy

* Implement state_information and has_emeter

* Import tapoplug from kasa.tapo package

* Add tapo L530 fixture

* Enable tests for L530 fixture

* Make ruff happy

* Update fixture filename

* Raise exceptions on invalid parameters

* Return results in a wrapped dict

* Implement set_*

* Reorganize bulbs to iot&smart, fix tests for smarts

* Fix linting

* Fix BULBS_LIGHT_STRIP back to LIGHT_STRIPS
2023-12-05 20:07:10 +01:00
..
fixtures Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
__init__.py mass rename to (python-)kasa (#1) 2019-12-18 09:11:18 +01:00
conftest.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
newfakes.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
test_bulb.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
test_cli.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_device_factory.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_device_type.py Move connect_single to SmartDevice.connect (#538) 2023-11-21 23:48:53 +01:00
test_dimmer.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_discovery.py Add support for tapo bulbs (#558) 2023-12-05 20:07:10 +01:00
test_emeter.py Fix pytest warnings about asyncio (#397) 2022-11-13 23:34:47 +01:00
test_klapprotocol.py Fix transport retries after close (#568) 2023-12-05 15:56:29 +01:00
test_lightstrip.py Add transition parameter to lightstrip's set_effect (#416) 2023-02-18 18:03:54 +01:00
test_plug.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_protocol.py Make device port configurable (#471) 2023-07-10 01:55:27 +02:00
test_readme_examples.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_smartdevice.py Add klap support for TAPO protocol by splitting out Transports and Protocols (#557) 2023-12-04 19:50:05 +01:00
test_strip.py Some release preparation janitoring (#432) 2023-02-18 22:09:35 +01:00
test_usage.py Return usage.get_{monthstat,daystat} in expected format (#394) 2023-02-18 20:53:02 +01:00