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.
		
			
				
	
	
		
			65 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "smartlife.iot.dimmer": {
 | 
						|
        "get_dimmer_parameters": {
 | 
						|
            "err_code": 0,
 | 
						|
            "fadeOffTime": 1000,
 | 
						|
            "fadeOnTime": 1000,
 | 
						|
            "gentleOffTime": 10000,
 | 
						|
            "gentleOnTime": 3000,
 | 
						|
            "minThreshold": 0,
 | 
						|
            "rampRate": 30
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "smartlife.iot.smartbulb.lightingservice": {
 | 
						|
        "err_code": -1,
 | 
						|
        "err_msg": "module not support"
 | 
						|
    },
 | 
						|
    "system": {
 | 
						|
        "get_sysinfo": {
 | 
						|
            "active_mode": "none",
 | 
						|
            "alias": "#MASKED_NAME#",
 | 
						|
            "brightness": 100,
 | 
						|
            "dev_name": "Wi-Fi Smart Dimmer",
 | 
						|
            "deviceId": "0000000000000000000000000000000000000000",
 | 
						|
            "err_code": 0,
 | 
						|
            "feature": "TIM",
 | 
						|
            "hwId": "00000000000000000000000000000000",
 | 
						|
            "hw_ver": "2.0",
 | 
						|
            "icon_hash": "",
 | 
						|
            "latitude_i": 0,
 | 
						|
            "led_off": 0,
 | 
						|
            "longitude_i": 0,
 | 
						|
            "mac": "00:00:00:00:00:00",
 | 
						|
            "mic_type": "IOT.SMARTPLUGSWITCH",
 | 
						|
            "model": "HS220(US)",
 | 
						|
            "next_action": {
 | 
						|
                "type": -1
 | 
						|
            },
 | 
						|
            "oemId": "00000000000000000000000000000000",
 | 
						|
            "on_time": 0,
 | 
						|
            "preferred_state": [
 | 
						|
                {
 | 
						|
                    "brightness": 100,
 | 
						|
                    "index": 0
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 75,
 | 
						|
                    "index": 1
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 50,
 | 
						|
                    "index": 2
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 25,
 | 
						|
                    "index": 3
 | 
						|
                }
 | 
						|
            ],
 | 
						|
            "relay_state": 0,
 | 
						|
            "rssi": -45,
 | 
						|
            "sw_ver": "1.0.3 Build 200326 Rel.082355",
 | 
						|
            "updating": 0
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |