mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-31 17:02:45 +00:00
Move tests folder to top level of project (#1242)
This commit is contained in:
530
tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json
vendored
Normal file
530
tests/fixtures/smart/child/T310(EU)_1.0_1.5.0.json
vendored
Normal file
@@ -0,0 +1,530 @@
|
||||
{
|
||||
"component_nego" : {
|
||||
"component_list": [
|
||||
{
|
||||
"id": "device",
|
||||
"ver_code": 2
|
||||
},
|
||||
{
|
||||
"id": "quick_setup",
|
||||
"ver_code": 3
|
||||
},
|
||||
{
|
||||
"id": "trigger_log",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "time",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "device_local_time",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "account",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "synchronize",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "cloud_connect",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "iot_cloud",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "firmware",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "localSmart",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "battery_detect",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "temperature",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "humidity",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "temp_humidity_record",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "comfort_temperature",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "comfort_humidity",
|
||||
"ver_code": 1
|
||||
},
|
||||
{
|
||||
"id": "report_mode",
|
||||
"ver_code": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"get_connect_cloud_state": {
|
||||
"status": 0
|
||||
},
|
||||
"get_device_info": {
|
||||
"at_low_battery": false,
|
||||
"avatar": "sensor_t310",
|
||||
"bind_count": 1,
|
||||
"category": "subg.trigger.temp-hmdt-sensor",
|
||||
"current_humidity": 54,
|
||||
"current_humidity_exception": 0,
|
||||
"current_temp": 19.3,
|
||||
"current_temp_exception": 0,
|
||||
"device_id": "SCRUBBED_CHILD_DEVICE_ID_10",
|
||||
"fw_ver": "1.5.0 Build 230105 Rel.150707",
|
||||
"hw_id": "00000000000000000000000000000000",
|
||||
"hw_ver": "1.0",
|
||||
"jamming_rssi": -120,
|
||||
"jamming_signal_level": 1,
|
||||
"lastOnboardingTimestamp": 1706789728,
|
||||
"mac": "E4FAC4000000",
|
||||
"model": "T310",
|
||||
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||
"oem_id": "00000000000000000000000000000000",
|
||||
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||
"region": "Europe/London",
|
||||
"report_interval": 16,
|
||||
"rssi": -81,
|
||||
"signal_level": 1,
|
||||
"specs": "EU",
|
||||
"status": "online",
|
||||
"status_follow_edge": false,
|
||||
"temp_unit": "celsius",
|
||||
"type": "SMART.TAPOSENSOR"
|
||||
},
|
||||
"get_fw_download_state": {
|
||||
"cloud_cache_seconds": 1,
|
||||
"download_progress": 0,
|
||||
"reboot_time": 5,
|
||||
"status": 0,
|
||||
"upgrade_time": 5
|
||||
},
|
||||
"get_latest_fw": {
|
||||
"fw_size": 0,
|
||||
"fw_ver": "1.5.0 Build 230105 Rel.150707",
|
||||
"hw_id": "",
|
||||
"need_to_upgrade": false,
|
||||
"oem_id": "",
|
||||
"release_date": "",
|
||||
"release_note": "",
|
||||
"type": 0
|
||||
},
|
||||
"get_temp_humidity_records": {
|
||||
"local_time": 1713550233,
|
||||
"past24h_humidity": [
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
62,
|
||||
61,
|
||||
61,
|
||||
62,
|
||||
61,
|
||||
60,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
63,
|
||||
63,
|
||||
63,
|
||||
64,
|
||||
63,
|
||||
63,
|
||||
63,
|
||||
63,
|
||||
62,
|
||||
63,
|
||||
63,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
62,
|
||||
61,
|
||||
62,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
61,
|
||||
60,
|
||||
61,
|
||||
64,
|
||||
64,
|
||||
61,
|
||||
61,
|
||||
63,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
60,
|
||||
59,
|
||||
59,
|
||||
59,
|
||||
59,
|
||||
59,
|
||||
58,
|
||||
58,
|
||||
58,
|
||||
57,
|
||||
55
|
||||
],
|
||||
"past24h_humidity_exception": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
3,
|
||||
3,
|
||||
3,
|
||||
4,
|
||||
3,
|
||||
3,
|
||||
3,
|
||||
3,
|
||||
2,
|
||||
3,
|
||||
3,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
2,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
1,
|
||||
4,
|
||||
4,
|
||||
1,
|
||||
1,
|
||||
3,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"past24h_temp": [
|
||||
175,
|
||||
175,
|
||||
174,
|
||||
174,
|
||||
173,
|
||||
172,
|
||||
172,
|
||||
171,
|
||||
170,
|
||||
169,
|
||||
169,
|
||||
167,
|
||||
167,
|
||||
166,
|
||||
165,
|
||||
164,
|
||||
163,
|
||||
163,
|
||||
162,
|
||||
162,
|
||||
162,
|
||||
162,
|
||||
163,
|
||||
163,
|
||||
162,
|
||||
162,
|
||||
161,
|
||||
160,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
158,
|
||||
158,
|
||||
159,
|
||||
159,
|
||||
158,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
159,
|
||||
158,
|
||||
158,
|
||||
158,
|
||||
158,
|
||||
158,
|
||||
158,
|
||||
159,
|
||||
159,
|
||||
160,
|
||||
161,
|
||||
161,
|
||||
162,
|
||||
162,
|
||||
162,
|
||||
162,
|
||||
162,
|
||||
163,
|
||||
163,
|
||||
166,
|
||||
168,
|
||||
170,
|
||||
172,
|
||||
174,
|
||||
175,
|
||||
176,
|
||||
177,
|
||||
179,
|
||||
181,
|
||||
183,
|
||||
184,
|
||||
185,
|
||||
187,
|
||||
189,
|
||||
190,
|
||||
190,
|
||||
193,
|
||||
194,
|
||||
194,
|
||||
194,
|
||||
194,
|
||||
194,
|
||||
194,
|
||||
195,
|
||||
195,
|
||||
195,
|
||||
196,
|
||||
196,
|
||||
196,
|
||||
195,
|
||||
193
|
||||
],
|
||||
"past24h_temp_exception": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-2,
|
||||
-2,
|
||||
-1,
|
||||
-1,
|
||||
-2,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-1,
|
||||
-2,
|
||||
-2,
|
||||
-2,
|
||||
-2,
|
||||
-2,
|
||||
-2,
|
||||
-1,
|
||||
-1,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"temp_unit": "celsius"
|
||||
},
|
||||
"get_trigger_logs": {
|
||||
"logs": [],
|
||||
"start_id": 0,
|
||||
"sum": 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user