mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-10-30 20:21:54 +00:00 
			
		
		
		
	 8cb5c2e180
			
		
	
	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.
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "discovery_result": {
 | |
|         "error_code": 0,
 | |
|         "result": {
 | |
|             "device_id": "00000000000000000000000000000000",
 | |
|             "device_model": "HS100(UK)",
 | |
|             "device_type": "IOT.SMARTPLUGSWITCH",
 | |
|             "factory_default": true,
 | |
|             "hw_ver": "4.1",
 | |
|             "ip": "127.0.0.123",
 | |
|             "mac": "CC-32-E5-00-00-00",
 | |
|             "mgt_encrypt_schm": {
 | |
|                 "encrypt_type": "KLAP",
 | |
|                 "http_port": 80,
 | |
|                 "is_support_https": false
 | |
|             },
 | |
|             "owner": "00000000000000000000000000000000"
 | |
|         }
 | |
|     },
 | |
|     "system": {
 | |
|         "get_sysinfo": {
 | |
|             "active_mode": "none",
 | |
|             "alias": "#MASKED_NAME#",
 | |
|             "dev_name": "Smart Wi-Fi Plug",
 | |
|             "deviceId": "0000000000000000000000000000000000000000",
 | |
|             "err_code": 0,
 | |
|             "feature": "TIM",
 | |
|             "hwId": "00000000000000000000000000000000",
 | |
|             "hw_ver": "4.1",
 | |
|             "icon_hash": "",
 | |
|             "latitude_i": 0,
 | |
|             "led_off": 0,
 | |
|             "longitude_i": 0,
 | |
|             "mac": "CC:32:E5:00:00:00",
 | |
|             "mic_type": "IOT.SMARTPLUGSWITCH",
 | |
|             "model": "HS100(UK)",
 | |
|             "next_action": {
 | |
|                 "type": -1
 | |
|             },
 | |
|             "ntc_state": 0,
 | |
|             "oemId": "00000000000000000000000000000000",
 | |
|             "on_time": 0,
 | |
|             "relay_state": 0,
 | |
|             "rssi": -43,
 | |
|             "status": "new",
 | |
|             "sw_ver": "1.1.0 Build 201016 Rel.175121",
 | |
|             "updating": 0
 | |
|         }
 | |
|     }
 | |
| }
 |