|
128 | 128 | type: LightBulb |
129 | 129 | class: LightBulb |
130 | 130 | properties: |
131 | | - - property: status # 'on' / 'off' |
132 | | - - property: brightness |
| 131 | + - property: power_status # 'on' / 'off' |
| 132 | + name: status |
| 133 | + get: get_property_exp |
| 134 | + - property: light_level |
| 135 | + name: brightness |
133 | 136 | unit: percent |
134 | | - - property: color_temp |
| 137 | + get: get_property_exp |
| 138 | + - property: colour_temperature |
| 139 | + name: color_temp |
135 | 140 | unit: cct |
| 141 | + get: get_property_exp |
136 | 142 | - property: cct_min |
137 | 143 | unit: cct |
138 | 144 | default: 153 |
|
147 | 153 | type: LightBulb |
148 | 154 | class: LightBulb |
149 | 155 | properties: |
150 | | - - property: status # 'on' / 'off' |
151 | | - - property: brightness |
| 156 | + - property: power_status # 'on' / 'off' |
| 157 | + name: status |
| 158 | + get: get_property_exp |
| 159 | + - property: light_level |
| 160 | + name: brightness |
152 | 161 | unit: percent |
153 | | - - property: color_temp |
| 162 | + get: get_property_exp |
| 163 | + - property: colour_temperature |
| 164 | + name: color_temp |
154 | 165 | unit: cct |
| 166 | + get: get_property_exp |
155 | 167 | - property: cct_min |
156 | 168 | unit: cct |
157 | 169 | default: 153 |
|
166 | 178 | type: LightBulb |
167 | 179 | class: LightBulb |
168 | 180 | properties: |
169 | | - - property: status # 'on' / 'off' |
170 | | - - property: brightness |
| 181 | + - property: power_status # 'on' / 'off' |
| 182 | + name: status |
| 183 | + get: get_property_exp |
| 184 | + - property: light_level |
| 185 | + name: brightness |
171 | 186 | unit: percent |
172 | | - - property: color_temp |
| 187 | + get: get_property_exp |
| 188 | + - property: colour_temperature |
| 189 | + name: color_temp |
173 | 190 | unit: cct |
| 191 | + get: get_property_exp |
174 | 192 | - property: cct_min |
175 | 193 | unit: cct |
176 | 194 | default: 153 |
|
185 | 203 | type: LightBulb |
186 | 204 | class: LightBulb |
187 | 205 | properties: |
188 | | - - property: status # 'on' / 'off' |
189 | | - - property: brightness |
| 206 | + - property: power_status # 'on' / 'off' |
| 207 | + name: status |
| 208 | + get: get_property_exp |
| 209 | + - property: light_level |
| 210 | + name: brightness |
190 | 211 | unit: percent |
191 | | - - property: color_temp |
| 212 | + get: get_property_exp |
| 213 | + - property: colour_temperature |
| 214 | + name: color_temp |
192 | 215 | unit: cct |
| 216 | + get: get_property_exp |
193 | 217 | - property: cct_min |
194 | 218 | unit: cct |
195 | 219 | default: 153 |
|
204 | 228 | type: LightBulb |
205 | 229 | class: LightBulb |
206 | 230 | properties: |
207 | | - - property: status # 'on' / 'off' |
208 | | - - property: brightness |
| 231 | + - property: power_status # 'on' / 'off' |
| 232 | + name: status |
| 233 | + get: get_property_exp |
| 234 | + - property: light_level |
| 235 | + name: brightness |
209 | 236 | unit: percent |
210 | | - - property: color_temp |
| 237 | + get: get_property_exp |
| 238 | + - property: colour_temperature |
| 239 | + name: color_temp |
211 | 240 | unit: cct |
| 241 | + get: get_property_exp |
212 | 242 | - property: cct_min |
213 | 243 | unit: cct |
214 | 244 | default: 153 |
|
223 | 253 | type: LightBulb |
224 | 254 | class: LightBulb |
225 | 255 | properties: |
226 | | - - property: status # 'on' / 'off' |
227 | | - - property: brightness |
| 256 | + - property: power_status # 'on' / 'off' |
| 257 | + name: status |
| 258 | + get: get_property_exp |
| 259 | + - property: light_level |
| 260 | + name: brightness |
228 | 261 | unit: percent |
229 | | - - property: color_temp |
| 262 | + get: get_property_exp |
| 263 | + - property: colour_temperature |
| 264 | + name: color_temp |
230 | 265 | unit: cct |
| 266 | + get: get_property_exp |
231 | 267 | - property: cct_min |
232 | 268 | unit: cct |
233 | 269 | default: 153 |
|
242 | 278 | type: LightBulb |
243 | 279 | class: LightBulb |
244 | 280 | properties: |
245 | | - - property: status # 'on' / 'off' |
246 | | - - property: brightness |
| 281 | + - property: power_status # 'on' / 'off' |
| 282 | + name: status |
| 283 | + get: get_property_exp |
| 284 | + - property: light_level |
| 285 | + name: brightness |
247 | 286 | unit: percent |
248 | | - - property: color_temp |
| 287 | + get: get_property_exp |
| 288 | + - property: colour_temperature |
| 289 | + name: color_temp |
249 | 290 | unit: cct |
| 291 | + get: get_property_exp |
250 | 292 | - property: cct_min |
251 | 293 | unit: cct |
252 | 294 | default: 153 |
|
261 | 303 | type: LightBulb |
262 | 304 | class: LightBulb |
263 | 305 | properties: |
264 | | - - property: status # 'on' / 'off' |
265 | | - - property: brightness |
| 306 | + - property: power_status # 'on' / 'off' |
| 307 | + name: status |
| 308 | + get: get_property_exp |
| 309 | + - property: light_level |
| 310 | + name: brightness |
266 | 311 | unit: percent |
267 | | - - property: color_temp |
| 312 | + get: get_property_exp |
| 313 | + - property: colour_temperature |
| 314 | + name: color_temp |
268 | 315 | unit: cct |
| 316 | + get: get_property_exp |
269 | 317 | - property: cct_min |
270 | 318 | unit: cct |
271 | 319 | default: 153 |
|
0 commit comments