python-kasa/kasa/iot
Steven B 3490a1ef84
Add tutorial doctest module and enable top level await (#919)
Add a tutorial module with examples that can be tested with `doctest`.

In order to simplify the examples they can be run with doctest allowing
top level await statements by adding a fixture to patch the builtins
that xdoctest uses to test code.

---------

Co-authored-by: Teemu R. <tpr@iki.fi>
2024-05-16 18:13:44 +02:00
..
modules Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
__init__.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
effects.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
iotbulb.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
iotdevice.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
iotdimmer.py Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
iotlightstrip.py Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
iotmodule.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
iotplug.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
iotstrip.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00