mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-04 06:32:07 +00:00 
			
		
		
		
	Add KP400 v1.0.3 fixture (#1037)
This commit is contained in:
		@@ -65,6 +65,7 @@ Some newer Kasa devices require authentication. These are marked with <sup>*</su
 | 
			
		||||
- **KP400**
 | 
			
		||||
  - Hardware: 1.0 (US) / Firmware: 1.0.10
 | 
			
		||||
  - Hardware: 2.0 (US) / Firmware: 1.0.6
 | 
			
		||||
  - Hardware: 3.0 (US) / Firmware: 1.0.3
 | 
			
		||||
 | 
			
		||||
### Wall Switches
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										45
									
								
								kasa/tests/fixtures/KP400(US)_3.0_1.0.3.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								kasa/tests/fixtures/KP400(US)_3.0_1.0.3.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
{
 | 
			
		||||
    "system": {
 | 
			
		||||
        "get_sysinfo": {
 | 
			
		||||
            "alias": "#MASKED_NAME#",
 | 
			
		||||
            "child_num": 2,
 | 
			
		||||
            "children": [
 | 
			
		||||
                {
 | 
			
		||||
                    "alias": "#MASKED_NAME#",
 | 
			
		||||
                    "id": "8006521377E30159055A751347B5A5E321A8D0A100",
 | 
			
		||||
                    "next_action": {
 | 
			
		||||
                        "type": -1
 | 
			
		||||
                    },
 | 
			
		||||
                    "on_time": 4024,
 | 
			
		||||
                    "state": 1
 | 
			
		||||
                },
 | 
			
		||||
                {
 | 
			
		||||
                    "alias": "#MASKED_NAME#",
 | 
			
		||||
                    "id": "8006521377E30159055A751347B5A5E321A8D0A101",
 | 
			
		||||
                    "next_action": {
 | 
			
		||||
                        "type": -1
 | 
			
		||||
                    },
 | 
			
		||||
                    "on_time": 4024,
 | 
			
		||||
                    "state": 1
 | 
			
		||||
                }
 | 
			
		||||
            ],
 | 
			
		||||
            "deviceId": "0000000000000000000000000000000000000000",
 | 
			
		||||
            "err_code": 0,
 | 
			
		||||
            "feature": "TIM",
 | 
			
		||||
            "hwId": "00000000000000000000000000000000",
 | 
			
		||||
            "hw_ver": "3.0",
 | 
			
		||||
            "latitude_i": 0,
 | 
			
		||||
            "led_off": 0,
 | 
			
		||||
            "longitude_i": 0,
 | 
			
		||||
            "mac": "3C:52:A1:00:00:00",
 | 
			
		||||
            "mic_type": "IOT.SMARTPLUGSWITCH",
 | 
			
		||||
            "model": "KP400(US)",
 | 
			
		||||
            "ntc_state": 0,
 | 
			
		||||
            "oemId": "00000000000000000000000000000000",
 | 
			
		||||
            "rssi": -75,
 | 
			
		||||
            "status": "new",
 | 
			
		||||
            "sw_ver": "1.0.3 Build 220803 Rel.172301",
 | 
			
		||||
            "updating": 0
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user