| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0c7de10 commit 0fcdb73
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -282,11 +282,13 @@ At the moment, the following devices have been confirmed to work: | |||
| 282 | 282 | #### Plugs | |
| 283 | 283 | ||
| 284 | 284 | * Tapo P110 | |
| 285 | + * Tapo P125M | ||
| 285 | 286 | * Tapo P135 (dimming not yet supported) | |
| 286 | 287 | ||
| 287 | 288 | #### Bulbs | |
| 288 | 289 | ||
| 289 | 290 | * Tapo L510B | |
| 291 | + * Tapo L510E | ||
| 290 | 292 | * Tapo L530E | |
| 291 | 293 | ||
| 292 | 294 | #### Light strips | |
@@ -334,7 +336,7 @@ use it directly you should expect it could break in future releases until this s | |||
| 334 | 336 | Other TAPO libraries are: | |
| 335 | 337 | ||
| 336 | 338 | * [PyTapo - Python library for communication with Tapo Cameras](https://github.com/JurajNyiri/pytapo) | |
| 337 | - * [Tapo P100 (Tapo P105/P100 plugs, Tapo L510E bulbs)](https://github.com/fishbigger/TapoP100) | ||
| 339 | + * [Tapo P100 (Tapo plugs, Tapo bulbs)](https://github.com/fishbigger/TapoP100) | ||
| 338 | 340 | * [Home Assistant integration](https://github.com/fishbigger/HomeAssistant-Tapo-P100-Control) | |
| 339 | 341 | * [plugp100, another tapo library](https://github.com/petretiandrea/plugp100) | |
| 340 | 342 | * [Home Assistant integration](https://github.com/petretiandrea/home-assistant-tapo-p100) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,5 @@ | |||
| 1 | 1 | """Script that checks if README.md is missing devices that have fixtures.""" | |
| 2 | + import re | ||
| 2 | 3 | import sys | |
| 3 | 4 | ||
| 4 | 5 | from kasa.tests.conftest import ( | |
@@ -32,10 +33,11 @@ def _get_device_type(dev, typemap): | |||
| 32 | 33 | ||
| 33 | 34 | found_unlisted = False | |
| 34 | 35 | for dev in ALL_DEVICES: | |
| 35 | - if dev not in readme: | ||
| 36 | + regex = rf"^\*.*\s{dev}" | ||
| 37 | + match = re.search(regex, readme, re.MULTILINE) | ||
| 38 | + if match is None: | ||
| 36 | 39 | print(f"{dev} not listed in {_get_device_type(dev, typemap)}") | |
| 37 | 40 | found_unlisted = True | |
| 38 | 41 | ||
| 39 | - | ||
| 40 | 42 | if found_unlisted: | |
| 41 | 43 | sys.exit(-1) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments