better lights on/off management

This commit is contained in:
Egor 2017-12-02 16:26:18 -08:00
parent 826ab32229
commit 1a5bcc8d4d

View file

@ -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'),