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.
		
			
				
	
	
		
			91 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "smartlife.iot.common.emeter": {
 | 
						|
        "get_realtime": {
 | 
						|
            "current_ma": 0,
 | 
						|
            "err_code": 0,
 | 
						|
            "power_mw": 998,
 | 
						|
            "total_wh": 1,
 | 
						|
            "voltage_mv": 0
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "smartlife.iot.smartbulb.lightingservice": {
 | 
						|
        "get_light_state": {
 | 
						|
            "brightness": 12,
 | 
						|
            "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": "Kasa Smart Edison Bulb, Dimmable",
 | 
						|
            "dev_state": "normal",
 | 
						|
            "deviceId": "0000000000000000000000000000000000000000",
 | 
						|
            "disco_ver": "1.0",
 | 
						|
            "err_code": 0,
 | 
						|
            "hwId": "00000000000000000000000000000000",
 | 
						|
            "hw_ver": "1.0",
 | 
						|
            "is_color": 0,
 | 
						|
            "is_dimmable": 1,
 | 
						|
            "is_factory": false,
 | 
						|
            "is_variable_color_temp": 0,
 | 
						|
            "latitude_i": 0,
 | 
						|
            "light_state": {
 | 
						|
                "brightness": 12,
 | 
						|
                "color_temp": 2700,
 | 
						|
                "hue": 0,
 | 
						|
                "mode": "normal",
 | 
						|
                "on_off": 1,
 | 
						|
                "saturation": 0
 | 
						|
            },
 | 
						|
            "longitude_i": 0,
 | 
						|
            "mic_mac": "000000000000",
 | 
						|
            "mic_type": "IOT.SMARTBULB",
 | 
						|
            "model": "KL50(US)",
 | 
						|
            "oemId": "00000000000000000000000000000000",
 | 
						|
            "preferred_state": [
 | 
						|
                {
 | 
						|
                    "brightness": 100,
 | 
						|
                    "color_temp": 2700,
 | 
						|
                    "hue": 0,
 | 
						|
                    "index": 0,
 | 
						|
                    "saturation": 0
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 75,
 | 
						|
                    "color_temp": 2700,
 | 
						|
                    "hue": 0,
 | 
						|
                    "index": 1,
 | 
						|
                    "saturation": 0
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 25,
 | 
						|
                    "color_temp": 2700,
 | 
						|
                    "hue": 0,
 | 
						|
                    "index": 2,
 | 
						|
                    "saturation": 0
 | 
						|
                },
 | 
						|
                {
 | 
						|
                    "brightness": 1,
 | 
						|
                    "color_temp": 2700,
 | 
						|
                    "hue": 0,
 | 
						|
                    "index": 3,
 | 
						|
                    "saturation": 0
 | 
						|
                }
 | 
						|
            ],
 | 
						|
            "rssi": -68,
 | 
						|
            "status": "new",
 | 
						|
            "sw_ver": "1.1.13 Build 210524 Rel.082619"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |