GeezerVison is showing github.com — Add fixture for L920-5(EU) 1.0.7 (#972) · python-kasa/python-kasa@5d5c353
File treeExpand file treeCollapse file tree Open diff view settings kasa/tests/fixtures/smart
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: SUPPORTED.md +1Lines changed: 1 addition & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -208,6 +208,7 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros | 208 | 208 | - Hardware: 1.0 (EU) / Firmware: 1.0.17 | 209 | 209 | - Hardware: 1.0 (EU) / Firmware: 1.1.0 | 210 | 210 | - **L920-5** | | 211 | + - Hardware: 1.0 (EU) / Firmware: 1.0.7 | 211 | 212 | - Hardware: 1.0 (US) / Firmware: 1.1.0 | 212 | 213 | - Hardware: 1.0 (US) / Firmware: 1.1.3 | 213 | 214 | - **L930-5** | |
Collapse file Copy file name to clipboard +350Lines changed: 350 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +{ | | 2 | + "component_nego": { | | 3 | + "component_list": [ | | 4 | + { | | 5 | + "id": "device", | | 6 | + "ver_code": 2 | | 7 | + }, | | 8 | + { | | 9 | + "id": "light_strip", | | 10 | + "ver_code": 1 | | 11 | + }, | | 12 | + { | | 13 | + "id": "light_strip_lighting_effect", | | 14 | + "ver_code": 1 | | 15 | + }, | | 16 | + { | | 17 | + "id": "firmware", | | 18 | + "ver_code": 1 | | 19 | + }, | | 20 | + { | | 21 | + "id": "quick_setup", | | 22 | + "ver_code": 3 | | 23 | + }, | | 24 | + { | | 25 | + "id": "inherit", | | 26 | + "ver_code": 1 | | 27 | + }, | | 28 | + { | | 29 | + "id": "time", | | 30 | + "ver_code": 1 | | 31 | + }, | | 32 | + { | | 33 | + "id": "wireless", | | 34 | + "ver_code": 1 | | 35 | + }, | | 36 | + { | | 37 | + "id": "schedule", | | 38 | + "ver_code": 2 | | 39 | + }, | | 40 | + { | | 41 | + "id": "countdown", | | 42 | + "ver_code": 2 | | 43 | + }, | | 44 | + { | | 45 | + "id": "antitheft", | | 46 | + "ver_code": 1 | | 47 | + }, | | 48 | + { | | 49 | + "id": "account", | | 50 | + "ver_code": 1 | | 51 | + }, | | 52 | + { | | 53 | + "id": "synchronize", | | 54 | + "ver_code": 1 | | 55 | + }, | | 56 | + { | | 57 | + "id": "sunrise_sunset", | | 58 | + "ver_code": 1 | | 59 | + }, | | 60 | + { | | 61 | + "id": "brightness", | | 62 | + "ver_code": 1 | | 63 | + }, | | 64 | + { | | 65 | + "id": "cloud_connect", | | 66 | + "ver_code": 1 | | 67 | + }, | | 68 | + { | | 69 | + "id": "color_temperature", | | 70 | + "ver_code": 1 | | 71 | + }, | | 72 | + { | | 73 | + "id": "default_states", | | 74 | + "ver_code": 1 | | 75 | + }, | | 76 | + { | | 77 | + "id": "preset", | | 78 | + "ver_code": 3 | | 79 | + }, | | 80 | + { | | 81 | + "id": "color", | | 82 | + "ver_code": 1 | | 83 | + }, | | 84 | + { | | 85 | + "id": "on_off_gradually", | | 86 | + "ver_code": 1 | | 87 | + }, | | 88 | + { | | 89 | + "id": "device_local_time", | | 90 | + "ver_code": 1 | | 91 | + }, | | 92 | + { | | 93 | + "id": "iot_cloud", | | 94 | + "ver_code": 1 | | 95 | + }, | | 96 | + { | | 97 | + "id": "music_rhythm", | | 98 | + "ver_code": 2 | | 99 | + }, | | 100 | + { | | 101 | + "id": "segment", | | 102 | + "ver_code": 1 | | 103 | + } | | 104 | + ] | | 105 | + }, | | 106 | + "discovery_result": { | | 107 | + "device_id": "00000000000000000000000000000000", | | 108 | + "device_model": "L920-5(EU)", | | 109 | + "device_type": "SMART.TAPOBULB", | | 110 | + "factory_default": true, | | 111 | + "ip": "127.0.0.123", | | 112 | + "is_support_iot_cloud": true, | | 113 | + "mac": "1C-61-B4-00-00-00", | | 114 | + "mgt_encrypt_schm": { | | 115 | + "encrypt_type": "AES", | | 116 | + "http_port": 80, | | 117 | + "is_support_https": false | | 118 | + }, | | 119 | + "obd_src": "tplink", | | 120 | + "owner": "" | | 121 | + }, | | 122 | + "get_antitheft_rules": { | | 123 | + "antitheft_rule_max_count": 1, | | 124 | + "enable": false, | | 125 | + "rule_list": [] | | 126 | + }, | | 127 | + "get_auto_update_info": { | | 128 | + "enable": true, | | 129 | + "random_range": 120, | | 130 | + "time": 180 | | 131 | + }, | | 132 | + "get_connect_cloud_state": { | | 133 | + "status": 1 | | 134 | + }, | | 135 | + "get_countdown_rules": { | | 136 | + "countdown_rule_max_count": 1, | | 137 | + "enable": false, | | 138 | + "rule_list": [] | | 139 | + }, | | 140 | + "get_device_info": { | | 141 | + "avatar": "", | | 142 | + "brightness": 100, | | 143 | + "color_temp": 9000, | | 144 | + "color_temp_range": [ | | 145 | + 9000, | | 146 | + 9000 | | 147 | + ], | | 148 | + "default_states": { | | 149 | + "state": { | | 150 | + "brightness": 100, | | 151 | + "color_temp": 9000, | | 152 | + "hue": 0, | | 153 | + "saturation": 100 | | 154 | + }, | | 155 | + "type": "last_states" | | 156 | + }, | | 157 | + "device_id": "0000000000000000000000000000000000000000", | | 158 | + "device_on": true, | | 159 | + "fw_id": "00000000000000000000000000000000", | | 160 | + "fw_ver": "1.0.7 Build 220119 Rel.221439", | | 161 | + "has_set_location_info": false, | | 162 | + "hue": 0, | | 163 | + "hw_id": "00000000000000000000000000000000", | | 164 | + "hw_ver": "1.0", | | 165 | + "ip": "127.0.0.123", | | 166 | + "lang": "", | | 167 | + "latitude": 0, | | 168 | + "lighting_effect": { | | 169 | + "brightness": 0, | | 170 | + "custom": 0, | | 171 | + "display_colors": [], | | 172 | + "enable": 1, | | 173 | + "id": "", | | 174 | + "name": "softAP" | | 175 | + }, | | 176 | + "longitude": 0, | | 177 | + "mac": "1C-61-B4-00-00-00", | | 178 | + "model": "L920", | | 179 | + "music_rhythm_enable": false, | | 180 | + "music_rhythm_mode": "single_lamp", | | 181 | + "nickname": "I01BU0tFRF9OQU1FIw==", | | 182 | + "oem_id": "00000000000000000000000000000000", | | 183 | + "overheated": false, | | 184 | + "region": "", | | 185 | + "rssi": -46, | | 186 | + "saturation": 100, | | 187 | + "signal_level": 3, | | 188 | + "specs": "", | | 189 | + "ssid": "I01BU0tFRF9TU0lEIw==", | | 190 | + "time_diff": 0, | | 191 | + "type": "SMART.TAPOBULB" | | 192 | + }, | | 193 | + "get_device_segment": { | | 194 | + "segment": 50 | | 195 | + }, | | 196 | + "get_device_time": { | | 197 | + "region": "", | | 198 | + "time_diff": 0, | | 199 | + "timestamp": 946771372 | | 200 | + }, | | 201 | + "get_fw_download_state": { | | 202 | + "download_progress": 0, | | 203 | + "reboot_time": 5, | | 204 | + "status": 0, | | 205 | + "upgrade_time": 5 | | 206 | + }, | | 207 | + "get_inherit_info": null, | | 208 | + "get_lighting_effect": { | | 209 | + "brightness": 0, | | 210 | + "custom": 0, | | 211 | + "direction": 1, | | 212 | + "display_colors": [], | | 213 | + "duration": 0, | | 214 | + "enable": 1, | | 215 | + "expansion_strategy": 0, | | 216 | + "id": "", | | 217 | + "name": "softAP", | | 218 | + "repeat_times": 0, | | 219 | + "segment_length": 1, | | 220 | + "sequence": [ | | 221 | + [ | | 222 | + 30, | | 223 | + 100, | | 224 | + 0 | | 225 | + ], | | 226 | + [ | | 227 | + 30, | | 228 | + 100, | | 229 | + 50 | | 230 | + ], | | 231 | + [ | | 232 | + 30, | | 233 | + 100, | | 234 | + 0 | | 235 | + ], | | 236 | + [ | | 237 | + 120, | | 238 | + 100, | | 239 | + 0 | | 240 | + ], | | 241 | + [ | | 242 | + 120, | | 243 | + 100, | | 244 | + 50 | | 245 | + ], | | 246 | + [ | | 247 | + 120, | | 248 | + 100, | | 249 | + 0 | | 250 | + ] | | 251 | + ], | | 252 | + "spread": 8, | | 253 | + "transition": 400, | | 254 | + "type": "sequence" | | 255 | + }, | | 256 | + "get_next_event": {}, | | 257 | + "get_on_off_gradually_info": { | | 258 | + "enable": false | | 259 | + }, | | 260 | + "get_preset_rules": { | | 261 | + "start_index": 0, | | 262 | + "states": [ | | 263 | + { | | 264 | + "brightness": 50, | | 265 | + "color_temp": 9000, | | 266 | + "hue": 0, | | 267 | + "saturation": 100 | | 268 | + }, | | 269 | + { | | 270 | + "brightness": 100, | | 271 | + "color_temp": 0, | | 272 | + "hue": 240, | | 273 | + "saturation": 100 | | 274 | + }, | | 275 | + { | | 276 | + "brightness": 100, | | 277 | + "color_temp": 0, | | 278 | + "hue": 0, | | 279 | + "saturation": 100 | | 280 | + }, | | 281 | + { | | 282 | + "brightness": 100, | | 283 | + "color_temp": 0, | | 284 | + "hue": 120, | | 285 | + "saturation": 100 | | 286 | + }, | | 287 | + { | | 288 | + "brightness": 100, | | 289 | + "color_temp": 0, | | 290 | + "hue": 277, | | 291 | + "saturation": 86 | | 292 | + }, | | 293 | + { | | 294 | + "brightness": 100, | | 295 | + "color_temp": 0, | | 296 | + "hue": 60, | | 297 | + "saturation": 100 | | 298 | + }, | | 299 | + { | | 300 | + "brightness": 100, | | 301 | + "color_temp": 0, | | 302 | + "hue": 300, | | 303 | + "saturation": 100 | | 304 | + } | | 305 | + ], | | 306 | + "sum": 7 | | 307 | + }, | | 308 | + "get_schedule_rules": { | | 309 | + "enable": false, | | 310 | + "rule_list": [], | | 311 | + "schedule_rule_max_count": 24, | | 312 | + "start_index": 0, | | 313 | + "sum": 0 | | 314 | + }, | | 315 | + "get_wireless_scan_info": { | | 316 | + "ap_list": [ | | 317 | + { | | 318 | + "bssid": "000000000000", | | 319 | + "channel": 0, | | 320 | + "cipher_type": 2, | | 321 | + "key_type": "wpa2_psk", | | 322 | + "signal_level": 2, | | 323 | + "ssid": "I01BU0tFRF9TU0lEIw==" | | 324 | + } | | 325 | + ], | | 326 | + "start_index": 0, | | 327 | + "sum": 1, | | 328 | + "wep_supported": false | | 329 | + }, | | 330 | + "qs_component_nego": { | | 331 | + "component_list": [ | | 332 | + { | | 333 | + "id": "quick_setup", | | 334 | + "ver_code": 3 | | 335 | + }, | | 336 | + { | | 337 | + "id": "sunrise_sunset", | | 338 | + "ver_code": 1 | | 339 | + }, | | 340 | + { | | 341 | + "id": "inherit", | | 342 | + "ver_code": 1 | | 343 | + } | | 344 | + ], | | 345 | + "extra_info": { | | 346 | + "device_model": "L920", | | 347 | + "device_type": "SMART.TAPOBULB" | | 348 | + } | | 349 | + } | | 350 | +} |
|