mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 19:53: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.
96 lines
2.8 KiB
JSON
96 lines
2.8 KiB
JSON
{
|
|
"smartlife.iot.LAS": {
|
|
"get_config": {
|
|
"devs": [
|
|
{
|
|
"dark_index": 4,
|
|
"enable": 1,
|
|
"hw_id": 0,
|
|
"level_array": [
|
|
{
|
|
"adc": 390,
|
|
"name": "cloudy",
|
|
"value": 15
|
|
},
|
|
{
|
|
"adc": 300,
|
|
"name": "overcast",
|
|
"value": 12
|
|
},
|
|
{
|
|
"adc": 222,
|
|
"name": "dawn",
|
|
"value": 9
|
|
},
|
|
{
|
|
"adc": 220,
|
|
"name": "twilight",
|
|
"value": 8
|
|
},
|
|
{
|
|
"adc": 98,
|
|
"name": "total darkness",
|
|
"value": 4
|
|
},
|
|
{
|
|
"adc": 2400,
|
|
"name": "custom",
|
|
"value": 97
|
|
}
|
|
],
|
|
"max_adc": 2450,
|
|
"min_adc": 0
|
|
}
|
|
],
|
|
"err_code": 0,
|
|
"ver": "1.0"
|
|
}
|
|
},
|
|
"smartlife.iot.PIR": {
|
|
"get_config": {
|
|
"array": [
|
|
80,
|
|
50,
|
|
20,
|
|
0
|
|
],
|
|
"cold_time": 600000,
|
|
"enable": 1,
|
|
"err_code": 0,
|
|
"max_adc": 4095,
|
|
"min_adc": 0,
|
|
"trigger_index": 1,
|
|
"version": "1.0"
|
|
}
|
|
},
|
|
"system": {
|
|
"get_sysinfo": {
|
|
"active_mode": "none",
|
|
"alias": "#MASKED_NAME#",
|
|
"dev_name": "Smart Light Switch with PIR",
|
|
"deviceId": "0000000000000000000000000000000000000000",
|
|
"err_code": 0,
|
|
"feature": "TIM",
|
|
"hwId": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"icon_hash": "",
|
|
"latitude_i": 0,
|
|
"led_off": 0,
|
|
"longitude_i": 0,
|
|
"mac": "00:00:00:00:00:00",
|
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
|
"model": "KS200M(US)",
|
|
"next_action": {
|
|
"type": -1
|
|
},
|
|
"oemId": "00000000000000000000000000000000",
|
|
"on_time": 0,
|
|
"relay_state": 0,
|
|
"rssi": -66,
|
|
"status": "new",
|
|
"sw_ver": "1.0.8 Build 211201 Rel.125056",
|
|
"updating": 0
|
|
}
|
|
}
|
|
}
|