소스 검색

修改EndpointHealth的value

locky 1 년 전
부모
커밋
fb25ab4f35
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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",