add descriptions for webcamsensor

pull/9/head^2
Sleevezipper 4 years ago
parent 053a99104c
commit 0886be29eb

@ -54,6 +54,12 @@ This sensor watches the UserNotificationState. This is normally used in applicat
This sensor exposes the name of the currently focused window.
### WebcamActive
This sensor shows if your webcam is currently in use.
Please note: Using this sensor will make your webcam activity light turn on every time it checks if the webcam is being used. Using an update interval lower than 30 seconds is not recommended.
### CPULoad
This sensor checks the current CPU load. It averages the load on all logical cores every second and rounds the output to two decimals.

@ -101,10 +101,10 @@ namespace UserInterface.Views
item.UpdateInterval = 5;
break;
case AvailableSensors.WebcamActiveSensor:
item.Description = "This sensor shows if the webcam is currently in use.";
item.Description = "Please note: Using this sensor will make your webcam activity light turn on every time it checks if the webcam is being used. Using an update interval lower than 30 seconds is not recommended.";
item.MoreInfoLink = "https://github.com/sleevezipper/hass-workstation-service#webcamactive";
item.ShowQueryInput = false;
item.UpdateInterval = 10;
item.UpdateInterval = 60;
break;
default:
item.Description = null;

Loading…
Cancel
Save