mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-21 05:10:56 +00:00
Update HomeSeer.js
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user