mirror of
https://github.com/python-kasa/python-kasa.git
synced 2026-01-14 15:52:45 +00:00
Add PIR ADC Values to Test Fixtures (#1296)
This commit is contained in:
91
tests/fixtures/KL135(US)_1.0_1.0.15.json
vendored
91
tests/fixtures/KL135(US)_1.0_1.0.15.json
vendored
@@ -1,22 +1,71 @@
|
||||
{
|
||||
"smartlife.iot.common.cloud": {
|
||||
"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": []
|
||||
}
|
||||
},
|
||||
"smartlife.iot.common.emeter": {
|
||||
"get_realtime": {
|
||||
"err_code": 0,
|
||||
"power_mw": 0,
|
||||
"total_wh": 25
|
||||
"power_mw": 10800,
|
||||
"total_wh": 48
|
||||
}
|
||||
},
|
||||
"smartlife.iot.common.schedule": {
|
||||
"get_next_action": {
|
||||
"err_code": 0,
|
||||
"type": -1
|
||||
},
|
||||
"get_rules": {
|
||||
"enable": 0,
|
||||
"err_code": 0,
|
||||
"rule_list": [],
|
||||
"version": 2
|
||||
}
|
||||
},
|
||||
"smartlife.iot.smartbulb.lightingservice": {
|
||||
"get_light_state": {
|
||||
"dft_on_state": {
|
||||
"brightness": 98,
|
||||
"color_temp": 6500,
|
||||
"hue": 28,
|
||||
"mode": "normal",
|
||||
"saturation": 72
|
||||
},
|
||||
"get_default_behavior": {
|
||||
"err_code": 0,
|
||||
"on_off": 0
|
||||
"hard_on": {
|
||||
"mode": "last_status"
|
||||
},
|
||||
"re_power_type": "always_on",
|
||||
"soft_on": {
|
||||
"mode": "last_status"
|
||||
}
|
||||
},
|
||||
"get_light_details": {
|
||||
"color_rendering_index": 90,
|
||||
"err_code": 0,
|
||||
"incandescent_equivalent": 60,
|
||||
"lamp_beam_angle": 220,
|
||||
"max_lumens": 800,
|
||||
"max_voltage": 120,
|
||||
"min_voltage": 100,
|
||||
"wattage": 10
|
||||
},
|
||||
"get_light_state": {
|
||||
"brightness": 100,
|
||||
"color_temp": 2700,
|
||||
"err_code": 0,
|
||||
"hue": 0,
|
||||
"mode": "normal",
|
||||
"on_off": 1,
|
||||
"saturation": 0
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
@@ -40,24 +89,22 @@
|
||||
"is_variable_color_temp": 1,
|
||||
"latitude_i": 0,
|
||||
"light_state": {
|
||||
"dft_on_state": {
|
||||
"brightness": 98,
|
||||
"color_temp": 6500,
|
||||
"hue": 28,
|
||||
"mode": "normal",
|
||||
"saturation": 72
|
||||
},
|
||||
"on_off": 0
|
||||
"brightness": 100,
|
||||
"color_temp": 2700,
|
||||
"hue": 0,
|
||||
"mode": "normal",
|
||||
"on_off": 1,
|
||||
"saturation": 0
|
||||
},
|
||||
"longitude_i": 0,
|
||||
"mic_mac": "000000000000",
|
||||
"mic_mac": "54AF97000000",
|
||||
"mic_type": "IOT.SMARTBULB",
|
||||
"model": "KL135(US)",
|
||||
"obd_src": "tplink",
|
||||
"oemId": "00000000000000000000000000000000",
|
||||
"preferred_state": [
|
||||
{
|
||||
"brightness": 50,
|
||||
"brightness": 100,
|
||||
"color_temp": 2700,
|
||||
"hue": 0,
|
||||
"index": 0,
|
||||
@@ -85,7 +132,7 @@
|
||||
"saturation": 100
|
||||
}
|
||||
],
|
||||
"rssi": -41,
|
||||
"rssi": -69,
|
||||
"status": "new",
|
||||
"sw_ver": "1.0.15 Build 240429 Rel.154143"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user