mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-04 06:32:07 +00:00 
			
		
		
		
	Add some device fixtures (#948)
Adds some device fixtures by courtesy of @jimboca, thanks! This is a slightly patched and rebased version of #441. --------- Co-authored-by: JimBo <jimboca3@gmail.com> Co-authored-by: sdb9696 <steven.beth@gmail.com>
This commit is contained in:
		
							
								
								
									
										37
									
								
								kasa/tests/fixtures/HS110(US)_1.0_1.2.6.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								kasa/tests/fixtures/HS110(US)_1.0_1.2.6.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
{
 | 
			
		||||
    "emeter": {
 | 
			
		||||
        "get_realtime": {
 | 
			
		||||
            "current": 0.128037,
 | 
			
		||||
            "err_code": 0,
 | 
			
		||||
            "power": 7.677094,
 | 
			
		||||
            "total": 30.404,
 | 
			
		||||
            "voltage": 118.917389
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "system": {
 | 
			
		||||
        "get_sysinfo": {
 | 
			
		||||
            "active_mode": "schedule",
 | 
			
		||||
            "alias": "Home Google WiFi HS110",
 | 
			
		||||
            "dev_name": "Wi-Fi Smart Plug With Energy Monitoring",
 | 
			
		||||
            "deviceId": "0000000000000000000000000000000000000000",
 | 
			
		||||
            "err_code": 0,
 | 
			
		||||
            "feature": "TIM:ENE",
 | 
			
		||||
            "fwId": "00000000000000000000000000000000",
 | 
			
		||||
            "hwId": "00000000000000000000000000000000",
 | 
			
		||||
            "hw_ver": "1.0",
 | 
			
		||||
            "icon_hash": "",
 | 
			
		||||
            "latitude": 0,
 | 
			
		||||
            "led_off": 0,
 | 
			
		||||
            "longitude": 0,
 | 
			
		||||
            "mac": "00:00:00:00:00:00",
 | 
			
		||||
            "model": "HS110(US)",
 | 
			
		||||
            "oemId": "00000000000000000000000000000000",
 | 
			
		||||
            "on_time": 14048150,
 | 
			
		||||
            "relay_state": 1,
 | 
			
		||||
            "rssi": -38,
 | 
			
		||||
            "sw_ver": "1.2.6 Build 200727 Rel.121701",
 | 
			
		||||
            "type": "IOT.SMARTPLUGSWITCH",
 | 
			
		||||
            "updating": 0
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user