From ce88870636fa7c8c177c2c37bfeea89d5515590c Mon Sep 17 00:00:00 2001 From: Nico Hirsch <30938717+noxhirsch@users.noreply.github.com> Date: Fri, 12 Nov 2021 23:08:59 +0100 Subject: [PATCH] Update InterProcessApi.cs --- .../Communication/InterProcesCommunication/InterProcessApi.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hass-workstation-service/Communication/InterProcesCommunication/InterProcessApi.cs b/hass-workstation-service/Communication/InterProcesCommunication/InterProcessApi.cs index 0a53b1a..9c9824e 100644 --- a/hass-workstation-service/Communication/InterProcesCommunication/InterProcessApi.cs +++ b/hass-workstation-service/Communication/InterProcesCommunication/InterProcessApi.cs @@ -177,6 +177,7 @@ namespace hass_workstation_service.Communication.InterProcesCommunication AvailableSensors.MemoryUsageSensor => new MemoryUsageSensor(_publisher, (int)model.UpdateInterval, model.Name), AvailableSensors.ActiveWindowSensor => new ActiveWindowSensor(_publisher, (int)model.UpdateInterval, model.Name), AvailableSensors.WebcamActiveSensor => new WebcamActiveSensor(_publisher, (int)model.UpdateInterval, model.Name), + AvailableSensors.WebcamProcessSensor => new WebcamProcessSensor(_publisher, (int)model.UpdateInterval, model.Name), AvailableSensors.MicrophoneActiveSensor => new MicrophoneActiveSensor(_publisher, (int)model.UpdateInterval, model.Name), AvailableSensors.NamedWindowSensor => new NamedWindowSensor(_publisher, model.WindowName, model.Name, (int)model.UpdateInterval), AvailableSensors.LastActiveSensor => new LastActiveSensor(_publisher, (int)model.UpdateInterval, model.Name), @@ -221,4 +222,4 @@ namespace hass_workstation_service.Communication.InterProcesCommunication public void WriteGeneralSettings(GeneralSettings settings) => _configurationService.WriteGeneralSettingsAsync(settings); } -} \ No newline at end of file +}