@ -102,7 +102,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . DummySensor :
case AvailableSensors . DummySensor :
item . Description = "This sensor spits out a random number every second. Useful for testing, maybe you'll find some other use for it." ;
item . Description = "This sensor spits out a random number every second. Useful for testing, maybe you'll find some other use for it." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#dummysensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#dummysensor" ;
@ -110,7 +110,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 1 ;
item . UpdateInterval = 1 ;
break ;
break ;
case AvailableSensors . CPULoadSensor :
case AvailableSensors . CPULoadSensor :
item . Description = "This sensor checks the current CPU load. It averages the load on all logical cores every second and rounds the output to two decimals." ;
item . Description = "This sensor checks the current CPU load. It averages the load on all logical cores every second and rounds the output to two decimals." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#cpuloadsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#cpuloadsensor" ;
@ -118,7 +118,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . CurrentClockSpeedSensor :
case AvailableSensors . CurrentClockSpeedSensor :
item . Description = "This sensor returns the BIOS configured baseclock for the processor." ;
item . Description = "This sensor returns the BIOS configured baseclock for the processor." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#currentclockspeedsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#currentclockspeedsensor" ;
@ -126,7 +126,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 3600 ;
item . UpdateInterval = 3600 ;
break ;
break ;
case AvailableSensors . WMIQuerySensor :
case AvailableSensors . WMIQuerySensor :
item . Description = "This advanced sensor executes a user defined WMI query and exposes the result. The query should return a single value." ;
item . Description = "This advanced sensor executes a user defined WMI query and exposes the result. The query should return a single value." ;
item . MoreInfoLink = "https://github.com/sleevezipperhass-workstation-service/blob/master/documentation/WMIQuery.md#wmiquerysensor" ;
item . MoreInfoLink = "https://github.com/sleevezipperhass-workstation-service/blob/master/documentation/WMIQuery.md#wmiquerysensor" ;
@ -134,7 +134,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 10 ;
item . UpdateInterval = 10 ;
break ;
break ;
case AvailableSensors . MemoryUsageSensor :
case AvailableSensors . MemoryUsageSensor :
item . Description = "This sensor calculates the percentage of used memory." ;
item . Description = "This sensor calculates the percentage of used memory." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#memoryusagesensorsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#memoryusagesensorsensor" ;
@ -142,7 +142,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 10 ;
item . UpdateInterval = 10 ;
break ;
break ;
case AvailableSensors . ActiveWindowSensor :
case AvailableSensors . ActiveWindowSensor :
item . Description = "This sensor exposes the name of the currently active window." ;
item . Description = "This sensor exposes the name of the currently active window." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#activewindowsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#activewindowsensor" ;
@ -150,28 +150,35 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . WebcamActiveSensor :
case AvailableSensors . WebcamActiveSensor :
item . Description = "This sensor shows if the webcam is currently being used." ;
item . Description = "This sensor shows if the webcam is currently being used." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#webcamactivesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#webcamactivesensor" ;
item . ShowQueryInput = false ;
item . ShowQueryInput = false ;
item . UpdateInterval = 10 ;
item . UpdateInterval = 10 ;
break ;
break ;
case AvailableSensors . WebcamProcessSensor :
case AvailableSensors . WebcamProcessSensor :
item . Description = "This sensor shows which process is using the webcam." ;
item . Description = "This sensor shows which process is using the webcam." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#webcamprocesssensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#webcamprocesssensor" ;
item . ShowQueryInput = false ;
item . ShowQueryInput = false ;
item . UpdateInterval = 10 ;
item . UpdateInterval = 10 ;
break ;
break ;
case AvailableSensors . MicrophoneActiveSensor :
case AvailableSensors . MicrophoneActiveSensor :
item . Description = "This sensor shows if the microphone is currently in use." ;
item . Description = "This sensor shows if the microphone is currently in use." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#microphoneactivesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#microphoneactivesensor" ;
item . ShowQueryInput = false ;
item . ShowQueryInput = false ;
item . UpdateInterval = 10 ;
item . UpdateInterval = 10 ;
break ;
break ;
case AvailableSensors . MicrophoneProcessSensor :
item . Description = "This sensor shows which process is using the microphone." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#microphoneprocesssensor" ;
item . ShowQueryInput = false ;
item . UpdateInterval = 10 ;
break ;
case AvailableSensors . NamedWindowSensor :
case AvailableSensors . NamedWindowSensor :
item . Description = "This sensor returns true if a window was found with the name you search for. " ;
item . Description = "This sensor returns true if a window was found with the name you search for. " ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#namedwindowsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#namedwindowsensor" ;
@ -179,7 +186,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = true ;
item . ShowWindowNameInput = true ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . LastActiveSensor :
case AvailableSensors . LastActiveSensor :
item . Description = "This sensor returns the date/time that the workstation was last active." ;
item . Description = "This sensor returns the date/time that the workstation was last active." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#lastactivesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#lastactivesensor" ;
@ -187,7 +194,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . LastBootSensor :
case AvailableSensors . LastBootSensor :
item . Description = "This sensor returns the date/time that Windows was last booted" ;
item . Description = "This sensor returns the date/time that Windows was last booted" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#lastbootsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#lastbootsensor" ;
@ -195,7 +202,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . SessionStateSensor :
case AvailableSensors . SessionStateSensor :
item . Description = "This sensor returns the state of the Windows session." ;
item . Description = "This sensor returns the state of the Windows session." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#sessionstatesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#sessionstatesensor" ;
@ -203,7 +210,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . CurrentVolumeSensor :
case AvailableSensors . CurrentVolumeSensor :
item . Description = "This sensor returns the volume of currently playing audio." ;
item . Description = "This sensor returns the volume of currently playing audio." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#currentvolumesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#currentvolumesensor" ;
@ -211,7 +218,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . MasterVolumeSensor :
case AvailableSensors . MasterVolumeSensor :
item . Description = "This sensor returns the master volume of the currently selected default audio device as a percentage value." ;
item . Description = "This sensor returns the master volume of the currently selected default audio device as a percentage value." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#mastervolumesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#mastervolumesensor" ;
@ -219,7 +226,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . GPUTemperatureSensor :
case AvailableSensors . GPUTemperatureSensor :
item . Description = "This sensor returns the current temperature of the GPU in °C." ;
item . Description = "This sensor returns the current temperature of the GPU in °C." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#gputemperaturesensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#gputemperaturesensor" ;
@ -227,7 +234,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
case AvailableSensors . GPULoadSensor :
case AvailableSensors . GPULoadSensor :
item . Description = "This sensor returns the current GPU load." ;
item . Description = "This sensor returns the current GPU load." ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#gpuloadsensor" ;
item . MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service/blob/master/documentation/Sensors.md#gpuloadsensor" ;
@ -235,7 +242,7 @@ namespace UserInterface.Views
item . ShowWindowNameInput = false ;
item . ShowWindowNameInput = false ;
item . UpdateInterval = 5 ;
item . UpdateInterval = 5 ;
break ;
break ;
default :
default :
item . Description = null ;
item . Description = null ;
item . MoreInfoLink = null ;
item . MoreInfoLink = null ;