mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
8cb5c2e180
Some checks failed
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Has been cancelled
This PR does a few related things to dump_devinfo: - Store the raw discovery result in the fixture. - Consolidate redaction logic so it's not duplicated in dump_devinfo. - Update existing fixtures to: - Store raw discovery result under `result` - Use `SCRUBBED_CHILD_DEVICE_ID` everywhere - Have correct values as per the consolidated redactors.
151 lines
4.6 KiB
JSON
151 lines
4.6 KiB
JSON
{
|
|
"smartlife.iot.common.cloud": {
|
|
"get_info": {
|
|
"binded": 1,
|
|
"cld_connection": 1,
|
|
"err_code": 0,
|
|
"fwDlPage": "",
|
|
"fwNotifyType": 0,
|
|
"illegalType": 0,
|
|
"server": "n-devs.tplinkcloud.com",
|
|
"stopConnect": 0,
|
|
"tcspInfo": "",
|
|
"tcspStatus": 1,
|
|
"username": "user@example.com"
|
|
},
|
|
"get_intl_fw_list": {
|
|
"err_code": 0,
|
|
"fw_list": [
|
|
{
|
|
"fwLocation": 0,
|
|
"fwReleaseDate": "2019-11-27",
|
|
"fwReleaseLog": "New Features/Enhancements:\n1. Added the offset feature when scheduling sunset/sunrise.\n2. Improved the overall performance of schedule feature.",
|
|
"fwReleaseLogUrl": "undefined yet",
|
|
"fwTitle": "Hi, a new firmware with bug fixes is available for your product.",
|
|
"fwType": 0,
|
|
"fwUrl": "http://download.tplinkcloud.com/firmware/smartBulb_FCC_1.8.11_Build_191113_Rel.105336__1574839035801.bin",
|
|
"fwVer": "1.8.11 Build 191113 Rel.105336"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"smartlife.iot.common.emeter": {
|
|
"get_realtime": {
|
|
"err_code": 0,
|
|
"power_mw": 10800
|
|
}
|
|
},
|
|
"smartlife.iot.common.schedule": {
|
|
"get_next_action": {
|
|
"err_code": 0,
|
|
"type": -1
|
|
},
|
|
"get_rules": {
|
|
"enable": 1,
|
|
"err_code": 0,
|
|
"rule_list": []
|
|
}
|
|
},
|
|
"smartlife.iot.smartbulb.lightingservice": {
|
|
"get_default_behavior": {
|
|
"err_code": 0,
|
|
"hard_on": {
|
|
"mode": "circadian"
|
|
},
|
|
"soft_on": {
|
|
"brightness": 50,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 0,
|
|
"mode": "customize_preset",
|
|
"saturation": 0
|
|
}
|
|
},
|
|
"get_light_details": {
|
|
"color_rendering_index": 80,
|
|
"err_code": 0,
|
|
"incandescent_equivalent": 60,
|
|
"lamp_beam_angle": 150,
|
|
"max_lumens": 800,
|
|
"max_voltage": 120,
|
|
"min_voltage": 110,
|
|
"wattage": 10
|
|
},
|
|
"get_light_state": {
|
|
"brightness": 100,
|
|
"color_temp": 2700,
|
|
"err_code": 0,
|
|
"hue": 0,
|
|
"mode": "normal",
|
|
"on_off": 1,
|
|
"saturation": 0
|
|
}
|
|
},
|
|
"system": {
|
|
"get_sysinfo": {
|
|
"active_mode": "none",
|
|
"alias": "#MASKED_NAME#",
|
|
"ctrl_protocols": {
|
|
"name": "Linkie",
|
|
"version": "1.0"
|
|
},
|
|
"description": "Smart Wi-Fi LED Bulb with Color Changing",
|
|
"dev_state": "normal",
|
|
"deviceId": "0000000000000000000000000000000000000000",
|
|
"disco_ver": "1.0",
|
|
"err_code": 0,
|
|
"heapsize": 308144,
|
|
"hwId": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"is_color": 1,
|
|
"is_dimmable": 1,
|
|
"is_factory": false,
|
|
"is_variable_color_temp": 1,
|
|
"light_state": {
|
|
"brightness": 100,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"mode": "normal",
|
|
"on_off": 1,
|
|
"saturation": 0
|
|
},
|
|
"mic_mac": "1C3BF3000000",
|
|
"mic_type": "IOT.SMARTBULB",
|
|
"model": "KL130(EU)",
|
|
"oemId": "00000000000000000000000000000000",
|
|
"preferred_state": [
|
|
{
|
|
"brightness": 50,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 0,
|
|
"saturation": 0
|
|
},
|
|
{
|
|
"brightness": 20,
|
|
"color_temp": 0,
|
|
"hue": 0,
|
|
"index": 1,
|
|
"saturation": 75
|
|
},
|
|
{
|
|
"brightness": 100,
|
|
"color_temp": 0,
|
|
"hue": 120,
|
|
"index": 2,
|
|
"saturation": 75
|
|
},
|
|
{
|
|
"brightness": 100,
|
|
"color_temp": 0,
|
|
"hue": 240,
|
|
"index": 3,
|
|
"saturation": 75
|
|
}
|
|
],
|
|
"rssi": -60,
|
|
"sw_ver": "1.8.8 Build 190613 Rel.123436"
|
|
}
|
|
}
|
|
}
|