|
|
@ -129,6 +129,9 @@ namespace hass_workstation_service.Data
|
|
|
|
case "WebcamActiveSensor":
|
|
|
|
case "WebcamActiveSensor":
|
|
|
|
sensor = new WebcamActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
sensor = new WebcamActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "WebcamProcessSensor":
|
|
|
|
|
|
|
|
sensor = new WebcamProcessSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
|
|
|
|
break;
|
|
|
|
case "MicrophoneActiveSensor":
|
|
|
|
case "MicrophoneActiveSensor":
|
|
|
|
sensor = new MicrophoneActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
sensor = new MicrophoneActiveSensor(publisher, configuredSensor.UpdateInterval, configuredSensor.Name, configuredSensor.Id);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|