Fix for monitoring service going incorrect into disconnected state

pull/22/head
EBOOZ 4 years ago
parent 76804579b5
commit a414b1b23b

@ -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";
} }
} }

Loading…
Cancel
Save