mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Add fixture for KL135(US) fw 1.0.15 (#1122)
By courtesy of @jhemak: https://github.com/home-assistant/core/issues/126300#issuecomment-2364640319
This commit is contained in:
parent
73b6d16074
commit
89d611d2cd
@ -116,6 +116,7 @@ Some newer Kasa devices require authentication. These are marked with <sup>*</su
|
|||||||
- Hardware: 1.0 (EU) / Firmware: 1.8.8
|
- Hardware: 1.0 (EU) / Firmware: 1.8.8
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.8.11
|
- Hardware: 1.0 (US) / Firmware: 1.8.11
|
||||||
- **KL135**
|
- **KL135**
|
||||||
|
- Hardware: 1.0 (US) / Firmware: 1.0.15
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.0.6
|
- Hardware: 1.0 (US) / Firmware: 1.0.6
|
||||||
- **KL50**
|
- **KL50**
|
||||||
- Hardware: 1.0 (US) / Firmware: 1.1.13
|
- Hardware: 1.0 (US) / Firmware: 1.1.13
|
||||||
|
93
kasa/tests/fixtures/KL135(US)_1.0_1.0.15.json
vendored
Normal file
93
kasa/tests/fixtures/KL135(US)_1.0_1.0.15.json
vendored
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"smartlife.iot.common.emeter": {
|
||||||
|
"get_realtime": {
|
||||||
|
"err_code": 0,
|
||||||
|
"power_mw": 0,
|
||||||
|
"total_wh": 25
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"smartlife.iot.smartbulb.lightingservice": {
|
||||||
|
"get_light_state": {
|
||||||
|
"dft_on_state": {
|
||||||
|
"brightness": 98,
|
||||||
|
"color_temp": 6500,
|
||||||
|
"hue": 28,
|
||||||
|
"mode": "normal",
|
||||||
|
"saturation": 72
|
||||||
|
},
|
||||||
|
"err_code": 0,
|
||||||
|
"on_off": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"system": {
|
||||||
|
"get_sysinfo": {
|
||||||
|
"active_mode": "none",
|
||||||
|
"alias": "#MASKED_NAME#",
|
||||||
|
"ctrl_protocols": {
|
||||||
|
"name": "Linkie",
|
||||||
|
"version": "1.0"
|
||||||
|
},
|
||||||
|
"description": "Smart Wi-Fi LED Bulb with Color Changing",
|
||||||
|
"dev_state": "normal",
|
||||||
|
"deviceId": "0000000000000000000000000000000000000000",
|
||||||
|
"disco_ver": "1.0",
|
||||||
|
"err_code": 0,
|
||||||
|
"hwId": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"is_color": 1,
|
||||||
|
"is_dimmable": 1,
|
||||||
|
"is_factory": false,
|
||||||
|
"is_variable_color_temp": 1,
|
||||||
|
"latitude_i": 0,
|
||||||
|
"light_state": {
|
||||||
|
"dft_on_state": {
|
||||||
|
"brightness": 98,
|
||||||
|
"color_temp": 6500,
|
||||||
|
"hue": 28,
|
||||||
|
"mode": "normal",
|
||||||
|
"saturation": 72
|
||||||
|
},
|
||||||
|
"on_off": 0
|
||||||
|
},
|
||||||
|
"longitude_i": 0,
|
||||||
|
"mic_mac": "000000000000",
|
||||||
|
"mic_type": "IOT.SMARTBULB",
|
||||||
|
"model": "KL135(US)",
|
||||||
|
"obd_src": "tplink",
|
||||||
|
"oemId": "00000000000000000000000000000000",
|
||||||
|
"preferred_state": [
|
||||||
|
{
|
||||||
|
"brightness": 50,
|
||||||
|
"color_temp": 2700,
|
||||||
|
"hue": 0,
|
||||||
|
"index": 0,
|
||||||
|
"saturation": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 100,
|
||||||
|
"color_temp": 0,
|
||||||
|
"hue": 0,
|
||||||
|
"index": 1,
|
||||||
|
"saturation": 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 100,
|
||||||
|
"color_temp": 0,
|
||||||
|
"hue": 120,
|
||||||
|
"index": 2,
|
||||||
|
"saturation": 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"brightness": 100,
|
||||||
|
"color_temp": 0,
|
||||||
|
"hue": 240,
|
||||||
|
"index": 3,
|
||||||
|
"saturation": 100
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rssi": -41,
|
||||||
|
"status": "new",
|
||||||
|
"sw_ver": "1.0.15 Build 240429 Rel.154143"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user