mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-01-15 00:02:42 +00:00
Add PIR ADC Values to Test Fixtures (#1296)
This commit is contained in:
50
tests/fixtures/KS220(US)_1.0_1.0.13.json
vendored
50
tests/fixtures/KS220(US)_1.0_1.0.13.json
vendored
@@ -1,5 +1,51 @@
|
||||
{
|
||||
"cnCloud": {
|
||||
"get_info": {
|
||||
"binded": 1,
|
||||
"cld_connection": 1,
|
||||
"err_code": 0,
|
||||
"fwDlPage": "",
|
||||
"fwNotifyType": -1,
|
||||
"illegalType": 0,
|
||||
"server": "n-devs.tplinkcloud.com",
|
||||
"stopConnect": 0,
|
||||
"tcspInfo": "",
|
||||
"tcspStatus": 1,
|
||||
"username": "#MASKED_NAME#"
|
||||
},
|
||||
"get_intl_fw_list": {
|
||||
"err_code": 0,
|
||||
"fw_list": []
|
||||
}
|
||||
},
|
||||
"schedule": {
|
||||
"get_next_action": {
|
||||
"err_code": 0,
|
||||
"type": -1
|
||||
},
|
||||
"get_rules": {
|
||||
"enable": 0,
|
||||
"err_code": 0,
|
||||
"rule_list": [],
|
||||
"version": 2
|
||||
}
|
||||
},
|
||||
"smartlife.iot.dimmer": {
|
||||
"get_default_behavior": {
|
||||
"double_click": {
|
||||
"mode": "gentle_on_off"
|
||||
},
|
||||
"err_code": 0,
|
||||
"hard_on": {
|
||||
"mode": "last_status"
|
||||
},
|
||||
"long_press": {
|
||||
"mode": "instant_on_off"
|
||||
},
|
||||
"soft_on": {
|
||||
"mode": "last_status"
|
||||
}
|
||||
},
|
||||
"get_dimmer_parameters": {
|
||||
"bulb_type": 1,
|
||||
"calibration_type": 1,
|
||||
@@ -8,7 +54,7 @@
|
||||
"fadeOnTime": 1000,
|
||||
"gentleOffTime": 10000,
|
||||
"gentleOnTime": 3000,
|
||||
"minThreshold": 1,
|
||||
"minThreshold": 9,
|
||||
"rampRate": 30
|
||||
}
|
||||
},
|
||||
@@ -56,7 +102,7 @@
|
||||
}
|
||||
],
|
||||
"relay_state": 0,
|
||||
"rssi": -47,
|
||||
"rssi": -50,
|
||||
"status": "configured",
|
||||
"sw_ver": "1.0.13 Build 240424 Rel.102214",
|
||||
"updating": 0
|
||||
|
||||
Reference in New Issue
Block a user