Skip to content

Commit 1da16b0

Browse files
committed
Update with preset and circadian
1 parent e4f42fd commit 1da16b0

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

tests/fixtures/KL130(EU)_1.0_1.8.8.json

+23-22
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"smartlife.iot.common.emeter": {
3333
"get_realtime": {
3434
"err_code": 0,
35-
"power_mw": 0
35+
"power_mw": 10800
3636
}
3737
},
3838
"smartlife.iot.common.schedule": {
@@ -50,10 +50,15 @@
5050
"get_default_behavior": {
5151
"err_code": 0,
5252
"hard_on": {
53-
"mode": "last_status"
53+
"mode": "circadian"
5454
},
5555
"soft_on": {
56-
"mode": "last_status"
56+
"brightness": 50,
57+
"color_temp": 2700,
58+
"hue": 0,
59+
"index": 0,
60+
"mode": "customize_preset",
61+
"saturation": 0
5762
}
5863
},
5964
"get_light_details": {
@@ -67,15 +72,13 @@
6772
"wattage": 10
6873
},
6974
"get_light_state": {
70-
"dft_on_state": {
71-
"brightness": 16,
72-
"color_temp": 2500,
73-
"hue": 0,
74-
"mode": "normal",
75-
"saturation": 0
76-
},
75+
"brightness": 100,
76+
"color_temp": 2700,
7777
"err_code": 0,
78-
"on_off": 0
78+
"hue": 0,
79+
"mode": "normal",
80+
"on_off": 1,
81+
"saturation": 0
7982
}
8083
},
8184
"system": {
@@ -91,22 +94,20 @@
9194
"deviceId": "0000000000000000000000000000000000000000",
9295
"disco_ver": "1.0",
9396
"err_code": 0,
94-
"heapsize": 308388,
97+
"heapsize": 308144,
9598
"hwId": "00000000000000000000000000000000",
9699
"hw_ver": "1.0",
97100
"is_color": 1,
98101
"is_dimmable": 1,
99102
"is_factory": false,
100103
"is_variable_color_temp": 1,
101104
"light_state": {
102-
"dft_on_state": {
103-
"brightness": 16,
104-
"color_temp": 2500,
105-
"hue": 0,
106-
"mode": "normal",
107-
"saturation": 0
108-
},
109-
"on_off": 0
105+
"brightness": 100,
106+
"color_temp": 2700,
107+
"hue": 0,
108+
"mode": "normal",
109+
"on_off": 1,
110+
"saturation": 0
110111
},
111112
"mic_mac": "1C3BF3000000",
112113
"mic_type": "IOT.SMARTBULB",
@@ -121,7 +122,7 @@
121122
"saturation": 0
122123
},
123124
{
124-
"brightness": 100,
125+
"brightness": 20,
125126
"color_temp": 0,
126127
"hue": 0,
127128
"index": 1,
@@ -142,7 +143,7 @@
142143
"saturation": 75
143144
}
144145
],
145-
"rssi": -57,
146+
"rssi": -60,
146147
"sw_ver": "1.8.8 Build 190613 Rel.123436"
147148
}
148149
}

0 commit comments

Comments
 (0)