better lights on/off management
This commit is contained in:
parent
826ab32229
commit
1a5bcc8d4d
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ export default Component.extend({
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// sync the current light settings to the newly added light
|
// sync the current light settings to the newly added light
|
||||||
onaActiveLightsChange: observer('syncLight', function() {
|
onSyncLightsChanged: observer('syncLight', function() {
|
||||||
let options = {
|
let options = {
|
||||||
on: this.get('lightsOn'),
|
on: this.get('lightsOn'),
|
||||||
bri: this.get('lightsBrightness'),
|
bri: this.get('lightsBrightness'),
|
||||||
|
|
|
||||||
Reference in a new issue