|
|
@ -78,9 +78,10 @@ If($null -ne $SetStatus){
|
|
|
|
Function publishOnlineState ()
|
|
|
|
Function publishOnlineState ()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$params = @{
|
|
|
|
$params = @{
|
|
|
|
"state"="on";
|
|
|
|
"state"="updating";
|
|
|
|
"attributes"= @{
|
|
|
|
"attributes"= @{
|
|
|
|
"friendly_name"="Microsoft Teams monitoring";
|
|
|
|
"friendly_name"="Microsoft Teams monitoring";
|
|
|
|
|
|
|
|
"icon"="$iconMonitoring";
|
|
|
|
"device_class"="connectivity";
|
|
|
|
"device_class"="connectivity";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|