浏览代码

修改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",