|
|
@ -93,6 +93,7 @@ namespace hass_workstation_service.Data
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "IdleTimeSensor":
|
|
|
|
case "IdleTimeSensor":
|
|
|
|
sensor = new IdleTimeSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
sensor = new IdleTimeSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
|
|
|
|
break;
|
|
|
|
case "WebcamActiveSensor":
|
|
|
|
case "WebcamActiveSensor":
|
|
|
|
sensor = new WebcamActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.DetectionMode, configuredSensor.Id);
|
|
|
|
sensor = new WebcamActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.DetectionMode, configuredSensor.Id);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|