mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-04 06:32:07 +00:00 
			
		
		
		
	
		
			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.
		
			
				
	
	
		
			90 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "emeter": {
 | 
						|
        "get_realtime": {
 | 
						|
            "current_ma": 544,
 | 
						|
            "err_code": 0,
 | 
						|
            "power_mw": 62430,
 | 
						|
            "total_wh": 26889,
 | 
						|
            "voltage_mv": 118389
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "system": {
 | 
						|
        "get_sysinfo": {
 | 
						|
            "alias": "#MASKED_NAME#",
 | 
						|
            "child_num": 6,
 | 
						|
            "children": [
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 1",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_1",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 2",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_2",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 3",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_3",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 4",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_4",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 5",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_5",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "alias": "#MASKED_NAME# 6",
 | 
						|
                    "id": "SCRUBBED_CHILD_DEVICE_ID_6",
 | 
						|
                    "next_action": {
 | 
						|
                        "type": -1
 | 
						|
                    },
 | 
						|
                    "on_time": 1449897,
 | 
						|
                    "state": 1
 | 
						|
                }
 | 
						|
            ],
 | 
						|
            "deviceId": "0000000000000000000000000000000000000000",
 | 
						|
            "err_code": 0,
 | 
						|
            "feature": "TIM:ENE",
 | 
						|
            "hwId": "00000000000000000000000000000000",
 | 
						|
            "hw_ver": "1.0",
 | 
						|
            "latitude_i": 0,
 | 
						|
            "led_off": 0,
 | 
						|
            "longitude_i": 0,
 | 
						|
            "mac": "00:00:00:00:00:00",
 | 
						|
            "mic_type": "IOT.SMARTPLUGSWITCH",
 | 
						|
            "model": "HS300(US)",
 | 
						|
            "oemId": "00000000000000000000000000000000",
 | 
						|
            "rssi": -39,
 | 
						|
            "status": "new",
 | 
						|
            "sw_ver": "1.0.21 Build 210524 Rel.161309",
 | 
						|
            "updating": 0
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |