Explorar o código

修改EndpointHealth的value

locky hai 1 ano
pai
achega
fb25ab4f35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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",