Skip to content

Commit 89d611d

Browse files
authored
Add fixture for KL135(US) fw 1.0.15 (python-kasa#1122)
By courtesy of @jhemak: home-assistant/core#126300 (comment)
1 parent 73b6d16 commit 89d611d

File tree

2 files changed

+94
-0
lines changed

2 files changed

+94
-0
lines changed

SUPPORTED.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Some newer Kasa devices require authentication. These are marked with <sup>*</su
116116
- Hardware: 1.0 (EU) / Firmware: 1.8.8
117117
- Hardware: 1.0 (US) / Firmware: 1.8.11
118118
- **KL135**
119+
- Hardware: 1.0 (US) / Firmware: 1.0.15
119120
- Hardware: 1.0 (US) / Firmware: 1.0.6
120121
- **KL50**
121122
- Hardware: 1.0 (US) / Firmware: 1.1.13
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"smartlife.iot.common.emeter": {
3+
"get_realtime": {
4+
"err_code": 0,
5+
"power_mw": 0,
6+
"total_wh": 25
7+
}
8+
},
9+
"smartlife.iot.smartbulb.lightingservice": {
10+
"get_light_state": {
11+
"dft_on_state": {
12+
"brightness": 98,
13+
"color_temp": 6500,
14+
"hue": 28,
15+
"mode": "normal",
16+
"saturation": 72
17+
},
18+
"err_code": 0,
19+
"on_off": 0
20+
}
21+
},
22+
"system": {
23+
"get_sysinfo": {
24+
"active_mode": "none",
25+
"alias": "#MASKED_NAME#",
26+
"ctrl_protocols": {
27+
"name": "Linkie",
28+
"version": "1.0"
29+
},
30+
"description": "Smart Wi-Fi LED Bulb with Color Changing",
31+
"dev_state": "normal",
32+
"deviceId": "0000000000000000000000000000000000000000",
33+
"disco_ver": "1.0",
34+
"err_code": 0,
35+
"hwId": "00000000000000000000000000000000",
36+
"hw_ver": "1.0",
37+
"is_color": 1,
38+
"is_dimmable": 1,
39+
"is_factory": false,
40+
"is_variable_color_temp": 1,
41+
"latitude_i": 0,
42+
"light_state": {
43+
"dft_on_state": {
44+
"brightness": 98,
45+
"color_temp": 6500,
46+
"hue": 28,
47+
"mode": "normal",
48+
"saturation": 72
49+
},
50+
"on_off": 0
51+
},
52+
"longitude_i": 0,
53+
"mic_mac": "000000000000",
54+
"mic_type": "IOT.SMARTBULB",
55+
"model": "KL135(US)",
56+
"obd_src": "tplink",
57+
"oemId": "00000000000000000000000000000000",
58+
"preferred_state": [
59+
{
60+
"brightness": 50,
61+
"color_temp": 2700,
62+
"hue": 0,
63+
"index": 0,
64+
"saturation": 0
65+
},
66+
{
67+
"brightness": 100,
68+
"color_temp": 0,
69+
"hue": 0,
70+
"index": 1,
71+
"saturation": 100
72+
},
73+
{
74+
"brightness": 100,
75+
"color_temp": 0,
76+
"hue": 120,
77+
"index": 2,
78+
"saturation": 100
79+
},
80+
{
81+
"brightness": 100,
82+
"color_temp": 0,
83+
"hue": 240,
84+
"index": 3,
85+
"saturation": 100
86+
}
87+
],
88+
"rssi": -41,
89+
"status": "new",
90+
"sw_ver": "1.0.15 Build 240429 Rel.154143"
91+
}
92+
}
93+
}

0 commit comments

Comments
 (0)