Update HomeSeer.js

This commit is contained in:
stipus
2015-10-12 02:11:24 +02:00
parent c506c44d60
commit 41e6c20a61

View File

@@ -505,7 +505,7 @@ HomeSeerAccessory.prototype = {
}
case "OccupancySensor": {
var occupancySensorService = new Service.OccupancySensor();
motionSensorService
occupancySensorService
.getCharacteristic(Characteristic.OccupancyDetected)
.on('get', this.getPowerState.bind(this));
services.push( occupancySensorService );