python-kasa 0.7.0.dev3__py3-none-any.whl → 0.7.0.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kasa/smart/modules/autooff.py +8 -0
- kasa/smart/modules/lightpreset.py +10 -0
- kasa/smart/smartchilddevice.py +12 -1
- kasa/smart/smartdevice.py +16 -29
- kasa/tests/device_fixtures.py +31 -0
- kasa/tests/fakeprotocol_smart.py +19 -1
- kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json +966 -0
- kasa/tests/smart/features/test_brightness.py +3 -3
- kasa/tests/smart/modules/test_autooff.py +8 -8
- kasa/tests/smart/modules/test_fan.py +6 -7
- kasa/tests/test_childdevice.py +19 -1
- kasa/tests/test_common_modules.py +8 -7
- kasa/tests/test_smartdevice.py +11 -7
- {python_kasa-0.7.0.dev3.dist-info → python_kasa-0.7.0.dev4.dist-info}/METADATA +1 -1
- {python_kasa-0.7.0.dev3.dist-info → python_kasa-0.7.0.dev4.dist-info}/RECORD +18 -17
- {python_kasa-0.7.0.dev3.dist-info → python_kasa-0.7.0.dev4.dist-info}/LICENSE +0 -0
- {python_kasa-0.7.0.dev3.dist-info → python_kasa-0.7.0.dev4.dist-info}/WHEEL +0 -0
- {python_kasa-0.7.0.dev3.dist-info → python_kasa-0.7.0.dev4.dist-info}/entry_points.txt +0 -0
|
@@ -2,7 +2,7 @@ import pytest
|
|
|
2
2
|
|
|
3
3
|
from kasa.iot import IotDevice
|
|
4
4
|
from kasa.smart import SmartDevice
|
|
5
|
-
from kasa.tests.conftest import dimmable_iot, parametrize
|
|
5
|
+
from kasa.tests.conftest import dimmable_iot, get_parent_and_child_modules, parametrize
|
|
6
6
|
|
|
7
7
|
brightness = parametrize("brightness smart", component_filter="brightness")
|
|
8
8
|
|
|
@@ -10,13 +10,13 @@ brightness = parametrize("brightness smart", component_filter="brightness")
|
|
|
10
10
|
@brightness
|
|
11
11
|
async def test_brightness_component(dev: SmartDevice):
|
|
12
12
|
"""Test brightness feature."""
|
|
13
|
-
brightness = dev
|
|
13
|
+
brightness = next(get_parent_and_child_modules(dev, "Brightness"))
|
|
14
14
|
assert brightness
|
|
15
15
|
assert isinstance(dev, SmartDevice)
|
|
16
16
|
assert "brightness" in dev._components
|
|
17
17
|
|
|
18
18
|
# Test getting the value
|
|
19
|
-
feature =
|
|
19
|
+
feature = brightness._device.features["brightness"]
|
|
20
20
|
assert isinstance(feature.value, int)
|
|
21
21
|
assert feature.value > 1 and feature.value <= 100
|
|
22
22
|
|
|
@@ -9,7 +9,7 @@ from pytest_mock import MockerFixture
|
|
|
9
9
|
|
|
10
10
|
from kasa import Module
|
|
11
11
|
from kasa.smart import SmartDevice
|
|
12
|
-
from kasa.tests.device_fixtures import parametrize
|
|
12
|
+
from kasa.tests.device_fixtures import get_parent_and_child_modules, parametrize
|
|
13
13
|
|
|
14
14
|
autooff = parametrize(
|
|
15
15
|
"has autooff", component_filter="auto_off", protocol_filter={"SMART"}
|
|
@@ -33,13 +33,13 @@ async def test_autooff_features(
|
|
|
33
33
|
dev: SmartDevice, feature: str, prop_name: str, type: type
|
|
34
34
|
):
|
|
35
35
|
"""Test that features are registered and work as expected."""
|
|
36
|
-
autooff = dev
|
|
36
|
+
autooff = next(get_parent_and_child_modules(dev, Module.AutoOff))
|
|
37
37
|
assert autooff is not None
|
|
38
38
|
|
|
39
39
|
prop = getattr(autooff, prop_name)
|
|
40
40
|
assert isinstance(prop, type)
|
|
41
41
|
|
|
42
|
-
feat =
|
|
42
|
+
feat = autooff._device.features[feature]
|
|
43
43
|
assert feat.value == prop
|
|
44
44
|
assert isinstance(feat.value, type)
|
|
45
45
|
|
|
@@ -47,13 +47,13 @@ async def test_autooff_features(
|
|
|
47
47
|
@autooff
|
|
48
48
|
async def test_settings(dev: SmartDevice, mocker: MockerFixture):
|
|
49
49
|
"""Test autooff settings."""
|
|
50
|
-
autooff = dev
|
|
50
|
+
autooff = next(get_parent_and_child_modules(dev, Module.AutoOff))
|
|
51
51
|
assert autooff
|
|
52
52
|
|
|
53
|
-
enabled =
|
|
53
|
+
enabled = autooff._device.features["auto_off_enabled"]
|
|
54
54
|
assert autooff.enabled == enabled.value
|
|
55
55
|
|
|
56
|
-
delay =
|
|
56
|
+
delay = autooff._device.features["auto_off_minutes"]
|
|
57
57
|
assert autooff.delay == delay.value
|
|
58
58
|
|
|
59
59
|
call = mocker.spy(autooff, "call")
|
|
@@ -86,10 +86,10 @@ async def test_auto_off_at(
|
|
|
86
86
|
dev: SmartDevice, mocker: MockerFixture, is_timer_active: bool
|
|
87
87
|
):
|
|
88
88
|
"""Test auto-off at sensor."""
|
|
89
|
-
autooff = dev
|
|
89
|
+
autooff = next(get_parent_and_child_modules(dev, Module.AutoOff))
|
|
90
90
|
assert autooff
|
|
91
91
|
|
|
92
|
-
autooff_at =
|
|
92
|
+
autooff_at = autooff._device.features["auto_off_at"]
|
|
93
93
|
|
|
94
94
|
mocker.patch.object(
|
|
95
95
|
type(autooff),
|
|
@@ -3,7 +3,7 @@ from pytest_mock import MockerFixture
|
|
|
3
3
|
|
|
4
4
|
from kasa import Module
|
|
5
5
|
from kasa.smart import SmartDevice
|
|
6
|
-
from kasa.tests.device_fixtures import parametrize
|
|
6
|
+
from kasa.tests.device_fixtures import get_parent_and_child_modules, parametrize
|
|
7
7
|
|
|
8
8
|
fan = parametrize("has fan", component_filter="fan_control", protocol_filter={"SMART"})
|
|
9
9
|
|
|
@@ -11,10 +11,9 @@ fan = parametrize("has fan", component_filter="fan_control", protocol_filter={"S
|
|
|
11
11
|
@fan
|
|
12
12
|
async def test_fan_speed(dev: SmartDevice, mocker: MockerFixture):
|
|
13
13
|
"""Test fan speed feature."""
|
|
14
|
-
fan = dev
|
|
14
|
+
fan = next(get_parent_and_child_modules(dev, Module.Fan))
|
|
15
15
|
assert fan
|
|
16
|
-
|
|
17
|
-
level_feature = dev.features["fan_speed_level"]
|
|
16
|
+
level_feature = fan._module_features["fan_speed_level"]
|
|
18
17
|
assert (
|
|
19
18
|
level_feature.minimum_value
|
|
20
19
|
<= level_feature.value
|
|
@@ -36,9 +35,9 @@ async def test_fan_speed(dev: SmartDevice, mocker: MockerFixture):
|
|
|
36
35
|
@fan
|
|
37
36
|
async def test_sleep_mode(dev: SmartDevice, mocker: MockerFixture):
|
|
38
37
|
"""Test sleep mode feature."""
|
|
39
|
-
fan = dev
|
|
38
|
+
fan = next(get_parent_and_child_modules(dev, Module.Fan))
|
|
40
39
|
assert fan
|
|
41
|
-
sleep_feature =
|
|
40
|
+
sleep_feature = fan._module_features["fan_sleep_mode"]
|
|
42
41
|
assert isinstance(sleep_feature.value, bool)
|
|
43
42
|
|
|
44
43
|
call = mocker.spy(fan, "call")
|
|
@@ -55,7 +54,7 @@ async def test_sleep_mode(dev: SmartDevice, mocker: MockerFixture):
|
|
|
55
54
|
async def test_fan_module(dev: SmartDevice, mocker: MockerFixture):
|
|
56
55
|
"""Test fan speed on device interface."""
|
|
57
56
|
assert isinstance(dev, SmartDevice)
|
|
58
|
-
fan = dev
|
|
57
|
+
fan = next(get_parent_and_child_modules(dev, Module.Fan))
|
|
59
58
|
assert fan
|
|
60
59
|
device = fan._device
|
|
61
60
|
|
kasa/tests/test_childdevice.py
CHANGED
|
@@ -3,10 +3,20 @@ import sys
|
|
|
3
3
|
|
|
4
4
|
import pytest
|
|
5
5
|
|
|
6
|
+
from kasa.device_type import DeviceType
|
|
6
7
|
from kasa.smart.smartchilddevice import SmartChildDevice
|
|
8
|
+
from kasa.smart.smartdevice import NON_HUB_PARENT_ONLY_MODULES
|
|
7
9
|
from kasa.smartprotocol import _ChildProtocolWrapper
|
|
8
10
|
|
|
9
|
-
from .conftest import strip_smart
|
|
11
|
+
from .conftest import parametrize, parametrize_subtract, strip_smart
|
|
12
|
+
|
|
13
|
+
has_children_smart = parametrize(
|
|
14
|
+
"has children", component_filter="control_child", protocol_filter={"SMART"}
|
|
15
|
+
)
|
|
16
|
+
hub_smart = parametrize(
|
|
17
|
+
"smart hub", device_type_filter=[DeviceType.Hub], protocol_filter={"SMART"}
|
|
18
|
+
)
|
|
19
|
+
non_hub_parent_smart = parametrize_subtract(has_children_smart, hub_smart)
|
|
10
20
|
|
|
11
21
|
|
|
12
22
|
@strip_smart
|
|
@@ -82,3 +92,11 @@ async def test_childdevice_properties(dev: SmartChildDevice):
|
|
|
82
92
|
exceptions = list(_test_property_getters())
|
|
83
93
|
if exceptions:
|
|
84
94
|
raise ExceptionGroup("Accessing child properties caused exceptions", exceptions)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
@non_hub_parent_smart
|
|
98
|
+
async def test_parent_only_modules(dev, dummy_protocol, mocker):
|
|
99
|
+
"""Test that parent only modules are not available on children."""
|
|
100
|
+
for child in dev.children:
|
|
101
|
+
for module in NON_HUB_PARENT_ONLY_MODULES:
|
|
102
|
+
assert module not in [type(module) for module in child.modules.values()]
|
|
@@ -7,6 +7,7 @@ from kasa.tests.device_fixtures import (
|
|
|
7
7
|
bulb_smart,
|
|
8
8
|
dimmable_iot,
|
|
9
9
|
dimmer_iot,
|
|
10
|
+
get_parent_and_child_modules,
|
|
10
11
|
lightstrip_iot,
|
|
11
12
|
parametrize,
|
|
12
13
|
parametrize_combine,
|
|
@@ -123,11 +124,11 @@ async def test_light_effect_module(dev: Device, mocker: MockerFixture):
|
|
|
123
124
|
async def test_light_brightness(dev: Device):
|
|
124
125
|
"""Test brightness setter and getter."""
|
|
125
126
|
assert isinstance(dev, Device)
|
|
126
|
-
light = dev
|
|
127
|
+
light = next(get_parent_and_child_modules(dev, Module.Light))
|
|
127
128
|
assert light
|
|
128
129
|
|
|
129
130
|
# Test getting the value
|
|
130
|
-
feature =
|
|
131
|
+
feature = light._device.features["brightness"]
|
|
131
132
|
assert feature.minimum_value == 0
|
|
132
133
|
assert feature.maximum_value == 100
|
|
133
134
|
|
|
@@ -146,7 +147,7 @@ async def test_light_brightness(dev: Device):
|
|
|
146
147
|
async def test_light_set_state(dev: Device):
|
|
147
148
|
"""Test brightness setter and getter."""
|
|
148
149
|
assert isinstance(dev, Device)
|
|
149
|
-
light = dev
|
|
150
|
+
light = next(get_parent_and_child_modules(dev, Module.Light))
|
|
150
151
|
assert light
|
|
151
152
|
|
|
152
153
|
await light.set_state(LightState(light_on=False))
|
|
@@ -169,11 +170,11 @@ async def test_light_set_state(dev: Device):
|
|
|
169
170
|
@light_preset
|
|
170
171
|
async def test_light_preset_module(dev: Device, mocker: MockerFixture):
|
|
171
172
|
"""Test light preset module."""
|
|
172
|
-
preset_mod = dev
|
|
173
|
+
preset_mod = next(get_parent_and_child_modules(dev, Module.LightPreset))
|
|
173
174
|
assert preset_mod
|
|
174
|
-
light_mod = dev
|
|
175
|
+
light_mod = next(get_parent_and_child_modules(dev, Module.Light))
|
|
175
176
|
assert light_mod
|
|
176
|
-
feat =
|
|
177
|
+
feat = preset_mod._device.features["light_preset"]
|
|
177
178
|
|
|
178
179
|
preset_list = preset_mod.preset_list
|
|
179
180
|
assert "Not set" in preset_list
|
|
@@ -220,7 +221,7 @@ async def test_light_preset_module(dev: Device, mocker: MockerFixture):
|
|
|
220
221
|
@light_preset
|
|
221
222
|
async def test_light_preset_save(dev: Device, mocker: MockerFixture):
|
|
222
223
|
"""Test saving a new preset value."""
|
|
223
|
-
preset_mod = dev
|
|
224
|
+
preset_mod = next(get_parent_and_child_modules(dev, Module.LightPreset))
|
|
224
225
|
assert preset_mod
|
|
225
226
|
preset_list = preset_mod.preset_list
|
|
226
227
|
if len(preset_list) == 1:
|
kasa/tests/test_smartdevice.py
CHANGED
|
@@ -9,13 +9,14 @@ from unittest.mock import patch
|
|
|
9
9
|
import pytest
|
|
10
10
|
from pytest_mock import MockerFixture
|
|
11
11
|
|
|
12
|
-
from kasa import KasaException, Module
|
|
12
|
+
from kasa import Device, KasaException, Module
|
|
13
13
|
from kasa.exceptions import SmartErrorCode
|
|
14
14
|
from kasa.smart import SmartDevice
|
|
15
15
|
|
|
16
16
|
from .conftest import (
|
|
17
17
|
device_smart,
|
|
18
18
|
get_device_for_fixture_protocol,
|
|
19
|
+
get_parent_and_child_modules,
|
|
19
20
|
)
|
|
20
21
|
|
|
21
22
|
|
|
@@ -111,6 +112,11 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture):
|
|
|
111
112
|
device_queries: dict[SmartDevice, dict[str, Any]] = {}
|
|
112
113
|
for mod in dev._modules.values():
|
|
113
114
|
device_queries.setdefault(mod._device, {}).update(mod.query())
|
|
115
|
+
# Hubs do not query child modules by default.
|
|
116
|
+
if dev.device_type != Device.Type.Hub:
|
|
117
|
+
for child in dev.children:
|
|
118
|
+
for mod in child.modules.values():
|
|
119
|
+
device_queries.setdefault(mod._device, {}).update(mod.query())
|
|
114
120
|
|
|
115
121
|
spies = {}
|
|
116
122
|
for device in device_queries:
|
|
@@ -119,7 +125,8 @@ async def test_update_module_queries(dev: SmartDevice, mocker: MockerFixture):
|
|
|
119
125
|
await dev.update()
|
|
120
126
|
for device in device_queries:
|
|
121
127
|
if device_queries[device]:
|
|
122
|
-
|
|
128
|
+
# Need assert any here because the child device updates use the parent's protocol
|
|
129
|
+
spies[device].assert_any_call(device_queries[device])
|
|
123
130
|
else:
|
|
124
131
|
spies[device].assert_not_called()
|
|
125
132
|
|
|
@@ -144,11 +151,8 @@ async def test_get_modules():
|
|
|
144
151
|
|
|
145
152
|
# Modules on child
|
|
146
153
|
module = dummy_device.modules.get("Fan")
|
|
147
|
-
assert module
|
|
148
|
-
|
|
149
|
-
assert module._device._parent == dummy_device
|
|
150
|
-
|
|
151
|
-
module = dummy_device.modules.get(Module.Fan)
|
|
154
|
+
assert module is None
|
|
155
|
+
module = next(get_parent_and_child_modules(dummy_device, "Fan"))
|
|
152
156
|
assert module
|
|
153
157
|
assert module._device != dummy_device
|
|
154
158
|
assert module._device._parent == dummy_device
|
|
@@ -53,7 +53,7 @@ kasa/smart/__init__.py,sha256=gdmi-Doe7dnv7e8ab_892lr9IdOXeFa3XlU3u_CePCk,198
|
|
|
53
53
|
kasa/smart/effects.py,sha256=EneV8hvcNRCNqZqXxAmxQBXDk7dnnSWKd_Ru4egIXHY,10807
|
|
54
54
|
kasa/smart/modules/__init__.py,sha256=zXiuja09r25Cx1jUHnnO67g3aJgbN74bAFi3qo44JyE,1451
|
|
55
55
|
kasa/smart/modules/alarm.py,sha256=abwuqdmcZD1FK_m0nyuZv9mRyrpTDh8pMzqEildvB_4,4214
|
|
56
|
-
kasa/smart/modules/autooff.py,sha256=
|
|
56
|
+
kasa/smart/modules/autooff.py,sha256=l9oEWu0k3nueVwGUOM_4_kH8ykIi_dOOZNe2m4rUq5s,3317
|
|
57
57
|
kasa/smart/modules/batterysensor.py,sha256=9CGZoVk7COwM0yIYqRKqpoxYQA-1poCqEaoJZfrnoI4,1634
|
|
58
58
|
kasa/smart/modules/brightness.py,sha256=krwyfFNhXm1r7RcQXPhajSAizfh5hrPHrpbV8-ocy_s,2077
|
|
59
59
|
kasa/smart/modules/childdevice.py,sha256=Ge5DbilDBoSdUWDfSfMqFz3ZNA1in8c2QeBG3zZgQuM,246
|
|
@@ -70,7 +70,7 @@ kasa/smart/modules/humiditysensor.py,sha256=hTgSb7RjgwWAWiVjG6_wjm-KNoAvfgbYuJZS
|
|
|
70
70
|
kasa/smart/modules/led.py,sha256=evlYwTXhkUs4jqmRLEENeRrBkztN7_wEna7WJCnBWmw,1369
|
|
71
71
|
kasa/smart/modules/light.py,sha256=3JQ3OUdknnb_hpM62O-2MUcgCR584VqkzI9amjaneIA,5668
|
|
72
72
|
kasa/smart/modules/lighteffect.py,sha256=cJg4pRYZrR6iHmIVGnBN-qoz9oTrtlhEtXQb2soL5Dk,3971
|
|
73
|
-
kasa/smart/modules/lightpreset.py,sha256=
|
|
73
|
+
kasa/smart/modules/lightpreset.py,sha256=xVLW2qhfHnh26OtDdQTV5sVV3Iu7YMPyFSnoGmmRx2k,5792
|
|
74
74
|
kasa/smart/modules/lightstripeffect.py,sha256=Hdw_QZ7c8SDawDFpYhnMinAnukMAt62Yaql_HNvvBtE,4012
|
|
75
75
|
kasa/smart/modules/lighttransition.py,sha256=LLJvyruBzvkLY0O6xiezEuPun7bwZ8b6aiRP9RYeL0A,6237
|
|
76
76
|
kasa/smart/modules/reportmode.py,sha256=IMg1HWmipgsKeOgOc9mtnGYdpjGPIzqcwtgYqjtjz9o,960
|
|
@@ -78,16 +78,16 @@ kasa/smart/modules/temperaturecontrol.py,sha256=qDXCm-NO_shtu8q29_6F6Vx5hbLO82Qn
|
|
|
78
78
|
kasa/smart/modules/temperaturesensor.py,sha256=ezYTyFSKG-d2Dz20fX_3VUwU2ZXHCEPlC8AjVpx1gSQ,2547
|
|
79
79
|
kasa/smart/modules/time.py,sha256=nzU26LYI0DqXZI471BZp6rXL6AQVgV7NF8FY7cnJiY4,1678
|
|
80
80
|
kasa/smart/modules/waterleaksensor.py,sha256=-mFTA3qpXYHSHUsA5062tscJrU74eqVv3gG9zL15UNg,1790
|
|
81
|
-
kasa/smart/smartchilddevice.py,sha256=
|
|
82
|
-
kasa/smart/smartdevice.py,sha256=
|
|
81
|
+
kasa/smart/smartchilddevice.py,sha256=zBstI7ks5XM1wLv5Lcrbj4Pe3jYN0YLxXSwTSKOtKW4,2677
|
|
82
|
+
kasa/smart/smartdevice.py,sha256=Or9Pc_OHeQqZXFeymOewqIdEQWMfnV0xYAikF53ARVs,23037
|
|
83
83
|
kasa/smart/smartmodule.py,sha256=UcQSZ94wfXtxgnJJ-feTCi1lEb0Oayeed9-z7x-ejcA,3609
|
|
84
84
|
kasa/smartprotocol.py,sha256=wZ-vtNc1vamFwaQ1paNftH5bhfAR1D5Kbx1hyYxqiJA,15268
|
|
85
85
|
kasa/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
86
|
kasa/tests/conftest.py,sha256=SEMjGkposNARLaU2DZO__NBkZmNIn3A-CXJuYIrRk9Q,2791
|
|
87
|
-
kasa/tests/device_fixtures.py,sha256=
|
|
87
|
+
kasa/tests/device_fixtures.py,sha256=ozyRZ1F38sVpsmReCP9PWRY4sjQPDTv15XUdtAURWpM,13493
|
|
88
88
|
kasa/tests/discovery_fixtures.py,sha256=_nV2PN2QDplp40bj3C4-AJ8W0gLjrKXBdkNpgxzRdGk,8573
|
|
89
89
|
kasa/tests/fakeprotocol_iot.py,sha256=tl12kouujaN09LEtxlMQzFPBjj44NaQsmY1ObocTgpw,14435
|
|
90
|
-
kasa/tests/fakeprotocol_smart.py,sha256=
|
|
90
|
+
kasa/tests/fakeprotocol_smart.py,sha256=l2IpOvytldPXJR9pexIcEHVuoaQu8WbdTQUtcoUXBEo,14041
|
|
91
91
|
kasa/tests/fixtureinfo.py,sha256=3hZrANIFasuBWslUrelqluqozm2DDfrbqxCRcpN1Jt0,4857
|
|
92
92
|
kasa/tests/fixtures/EP10(US)_1.0_1.0.2.json,sha256=sABRlOhIcHXHnKTQFdEnIKW5gf2ir3t_TaJXamVQ8ZM,974
|
|
93
93
|
kasa/tests/fixtures/EP40(US)_1.0_1.0.2.json,sha256=yOfWZEhRPMshudzi5suV6ER_9yagp4hILhznX5r1KuI,1427
|
|
@@ -186,6 +186,7 @@ kasa/tests/fixtures/smart/P115(EU)_1.0_1.2.3.json,sha256=uGh2xEqqPD3lvZRt8zjEgRV
|
|
|
186
186
|
kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json,sha256=kVBU1qCAQUfcMe8RoTBTsL1pdupBoe20Scgxgo_J0wI,6145
|
|
187
187
|
kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json,sha256=RtKXcKBZoSXx3GHNpWyYpGhVApNQ3MxJnItmO3mWHSs,8251
|
|
188
188
|
kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.13.json,sha256=PWl5FnEpybN5wJt8xzqhmLdviEhx5NtV7hDOnf52S-k,15605
|
|
189
|
+
kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.15.json,sha256=J6GqyWjUyA-rV-IOq1yY3Pqr1DHfooNt52EX2_q-rOo,30910
|
|
189
190
|
kasa/tests/fixtures/smart/P300(EU)_1.0_1.0.7.json,sha256=B0LDPtQoEzO9Q2W5pbX2ORixgUOvEU6fWlYXB6qN9pc,15653
|
|
190
191
|
kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json,sha256=QlU1vIIAEEkEr6ZLbBwr4Ii-fBt6VMWwo3JpUEUr7SA,8461
|
|
191
192
|
kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json,sha256=NBXlb8UXdZzRNoZQxAnzThoT_tAnaXVGRVKkCVgZnwE,8415
|
|
@@ -201,12 +202,12 @@ kasa/tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json,sha256=RDKym90HdXS9yh54y
|
|
|
201
202
|
kasa/tests/fixtures/smart/child/T315(EU)_1.0_1.7.0.json,sha256=qP7Eak0PHlemZ-eJihPKr3yPwA1zOof1T68shtkoJ6o,8709
|
|
202
203
|
kasa/tests/smart/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
203
204
|
kasa/tests/smart/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
204
|
-
kasa/tests/smart/features/test_brightness.py,sha256=
|
|
205
|
+
kasa/tests/smart/features/test_brightness.py,sha256=FnssEYLXbArbGiU2H-xMA_sUrqpE-VRRDlHUDx4aBAM,1713
|
|
205
206
|
kasa/tests/smart/features/test_colortemp.py,sha256=LBZ-ijLdVXovH_GO3kcD3htp6rn6Zf0yk0qKi0_vKio,992
|
|
206
207
|
kasa/tests/smart/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
207
|
-
kasa/tests/smart/modules/test_autooff.py,sha256=
|
|
208
|
+
kasa/tests/smart/modules/test_autooff.py,sha256=TcPzKbROwIfKihiAScoRUJvCZvDCGUCBpfAr-oer6T4,2806
|
|
208
209
|
kasa/tests/smart/modules/test_contact.py,sha256=a-NRdPgtIHyb97DIVqFyMHUdyUOgcUoPsSH4Y4RKh6Q,698
|
|
209
|
-
kasa/tests/smart/modules/test_fan.py,sha256=
|
|
210
|
+
kasa/tests/smart/modules/test_fan.py,sha256=6HuJwH63T0LQDv5K9pPz6mTHpAActXEitKWAZmu78FY,2347
|
|
210
211
|
kasa/tests/smart/modules/test_firmware.py,sha256=AUImLF49GSVRJbX4P4U0SC4YFkkoQViwHOYaYAy4Cko,3296
|
|
211
212
|
kasa/tests/smart/modules/test_humidity.py,sha256=vxpunr-2N1KiciTE59EcDUMczL_IWjn0wWLUa43nPpQ,715
|
|
212
213
|
kasa/tests/smart/modules/test_light_effect.py,sha256=xp1VzUK9BwQjIxrIYWsVhEsd4R92H9wmOCgcXDoV0dI,1393
|
|
@@ -215,9 +216,9 @@ kasa/tests/smart/modules/test_temperaturecontrol.py,sha256=_g7WAp1dkXWWP_8g633Z_
|
|
|
215
216
|
kasa/tests/smart/modules/test_waterleak.py,sha256=IeMts3JTj84npChuP3A0sjqt50ZwuhroZOgsYqtN4CU,1156
|
|
216
217
|
kasa/tests/test_aestransport.py,sha256=UCsQM_1ztlWkywjC4AxPmQkk8zyUAXH3bzeg5THYTk8,17423
|
|
217
218
|
kasa/tests/test_bulb.py,sha256=SzIPESncYYz2Ov_wo5HauwvEcv-ruSdV_4NxGorBYj0,11794
|
|
218
|
-
kasa/tests/test_childdevice.py,sha256
|
|
219
|
+
kasa/tests/test_childdevice.py,sha256=-U2s2voFJVx_fUnid9PPS2LTgd7x3NyYfiTpyK7k_iE,3412
|
|
219
220
|
kasa/tests/test_cli.py,sha256=iO7JnZvbdnaVYQ2XX_mUVKyCzcf6ZPvXPUY3Cpxxmtg,26215
|
|
220
|
-
kasa/tests/test_common_modules.py,sha256=
|
|
221
|
+
kasa/tests/test_common_modules.py,sha256=BLMw0Eu5Ct6mY7CnmLKcR-YTVEpuZtdjJFVtjr4ZwlA,7502
|
|
221
222
|
kasa/tests/test_device.py,sha256=QyIgropNVhMqqFlLMDoTL6NtNbNMv57q3LPAUqA0moE,9872
|
|
222
223
|
kasa/tests/test_device_factory.py,sha256=cwtBepr7WnN6xLmSbAim-7UxjuAwtjnvySxWRnJYjY8,5710
|
|
223
224
|
kasa/tests/test_device_type.py,sha256=QiAHVsPbs1lR8mXXvq1IJ4n1OAIs0pmMekjVSTxfp1o,872
|
|
@@ -233,13 +234,13 @@ kasa/tests/test_lightstrip.py,sha256=GvjrFyWP8A5UahrHDMCetmLzfZKWe1R8jWBdQf3tWI0
|
|
|
233
234
|
kasa/tests/test_plug.py,sha256=GOfU-mVSSPuakHoATbg5iJVVMbqGZl6ZCrWSpqshAkw,1859
|
|
234
235
|
kasa/tests/test_protocol.py,sha256=eHkr9iF2SnlWnyxzb3ECS68r53GBK6Z1SW37G8QHSv8,19578
|
|
235
236
|
kasa/tests/test_readme_examples.py,sha256=kMNc2CJFMa-SHDTYkqNWl4gUC2m7JBM4yebfEcU33uU,5211
|
|
236
|
-
kasa/tests/test_smartdevice.py,sha256=
|
|
237
|
+
kasa/tests/test_smartdevice.py,sha256=SadKAaipkFmqOgB9IquMoChgRABat89kp0Q3LUM495Q,7702
|
|
237
238
|
kasa/tests/test_smartprotocol.py,sha256=H6qWAFVLWajLfhHOX9Ot9lmZJCVygk6NTThnfthcXzQ,10339
|
|
238
239
|
kasa/tests/test_strip.py,sha256=dtB8GgXmB5NcxZ7bjpFhLxCaz0ZVpaw3G9YHJCSuEM4,4510
|
|
239
240
|
kasa/tests/test_usage.py,sha256=ypM6O_KEpmI3Mw9FRPf045S-FefOKqpM-BF0px6ca6M,2331
|
|
240
241
|
kasa/xortransport.py,sha256=W0wCWqMHUqkPQqj71JRUFzMxZIzkIxUdFqlXgYP_olc,8530
|
|
241
|
-
python_kasa-0.7.0.
|
|
242
|
-
python_kasa-0.7.0.
|
|
243
|
-
python_kasa-0.7.0.
|
|
244
|
-
python_kasa-0.7.0.
|
|
245
|
-
python_kasa-0.7.0.
|
|
242
|
+
python_kasa-0.7.0.dev4.dist-info/LICENSE,sha256=Klt9aEsei738epLgYqeikhpdBWwMvU1VAli14Bxlc5c,33218
|
|
243
|
+
python_kasa-0.7.0.dev4.dist-info/METADATA,sha256=AQrf_aobGB9wHha8ua1ZuTBP7hwe3FMiUKGBGSZAbzQ,13194
|
|
244
|
+
python_kasa-0.7.0.dev4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
245
|
+
python_kasa-0.7.0.dev4.dist-info/entry_points.txt,sha256=RlTlZyXOxJ_r2Ap7lpuPAWyYUud9RfVBnOklBvUKPVA,37
|
|
246
|
+
python_kasa-0.7.0.dev4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|