Skip to content

Commit

Permalink
Rename depreciated to deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
lprhodes committed Mar 14, 2018
1 parent 2e62fce commit ef5edae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion accessories/switchMulti.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SwitchMultiAccessory extends SwitchAccessory {
const { data, log, name, config, serviceManagerType } = this;

setTimeout(() => {
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-multi" accessory is now depreciated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-multi" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
}, 1600)

this.serviceManager = new ServiceManagerTypes[serviceManagerType](name, Service.Switch, this.log);
Expand Down
2 changes: 1 addition & 1 deletion accessories/switchMultiRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class SwitchMultiAccessory extends SwitchAccessory {
const { data, log, name, config, serviceManagerType } = this;

setTimeout(() => {
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-multi-repeat" accessory is now depreciated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-multi-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
}, 1600)

this.serviceManager = new ServiceManagerTypes[serviceManagerType](name, Service.Switch, this.log);
Expand Down
2 changes: 1 addition & 1 deletion accessories/switchRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SwitchRepeatAccessory extends SwitchAccessory {
const { data, log, name, config, serviceManagerType } = this;

setTimeout(() => {
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-repeat" accessory is now depreciated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
log(`\x1b[33m[Warning] \x1b[30m${name}: The "switch-repeat" accessory is now deprecated and shall be removed in the future. Check out the updated "switch" documentation at http://github.com/lprhodes/homebridge-broadlink-rm`);
}, 1600)

this.serviceManager = new ServiceManagerTypes[serviceManagerType](name, Service.Switch, this.log);
Expand Down

0 comments on commit ef5edae

Please sign in to comment.