Quellcode durchsuchen

修改EndpointHealth的value

locky vor 1 Jahr
Ursprung
Commit
fb25ab4f35
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      controller/deviceStatus.py

+ 1 - 1
controller/deviceStatus.py

@@ -590,7 +590,7 @@ class deviceStatus(TemplateView):
                             }
                         ]
             if online is not None:
-                endpoint_health_value = 'OK' if online == '1' else 'UNREACHABLE'
+                endpoint_health_value = 'OK' if online == '1' else 'NOT_FOUND'
                 properties.append(
                     {
                         "namespace": "Alexa.EndpointHealth",