python-kasa/kasa
Steven B 91de5e20ba
Fix P100 errors on multi-requests (#930)
Fixes an issue reported by @bdraco with the P100 not working in the
latest branch:

`[Errno None] Can not write request body for HOST_REDACTED,
ClientOSError(None, 'Can not write request body for
URL_REDACTED'))`

Issue caused by the number of multi requests going above the default
batch of 5 and the P100 not being able to handle the second multi
request happening immediately as it closes the connection after each
query (See https://github.com/python-kasa/python-kasa/pull/690 for
similar issue). This introduces a small wait time on concurrent requests
once the device has raised a ClientOSError.
2024-06-04 19:49:01 +02:00
..
interfaces Fix set_state for common light modules (#929) 2024-05-22 15:33:55 +02:00
iot Add some device fixtures (#948) 2024-06-04 19:24:53 +02:00
smart Initialize autooff features only when data is available (#933) 2024-05-24 19:39:10 +02:00
tests Fix P100 errors on multi-requests (#930) 2024-06-04 19:49:01 +02:00
__init__.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
aestransport.py Fix P100 errors on multi-requests (#930) 2024-06-04 19:49:01 +02:00
cli.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
device_type.py Add temperature control module for smart (#848) 2024-04-22 12:39:07 +01:00
device.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
deviceconfig.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
discover.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
emeterstatus.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
exceptions.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
feature.py Update documentation structure and start migrating to markdown (#934) 2024-06-03 10:14:10 +01:00
httpclient.py Fix P100 errors on multi-requests (#930) 2024-06-04 19:49:01 +02:00
iotprotocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
module.py Add light presets common module to devices. (#907) 2024-05-19 11:20:18 +01:00
modulemapping.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
modulemapping.pyi Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
protocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartprotocol.py Do not raise on multi-request errors on child devices (#949) 2024-06-03 20:41:55 +02:00
xortransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00