Bläddra i källkod

修改AddOrUpdateReport响应数据

locky 1 år sedan
förälder
incheckning
d2475e8030
1 ändrade filer med 12 tillägg och 1 borttagningar
  1. 12 1
      controller/deviceStatus.py

+ 12 - 1
controller/deviceStatus.py

@@ -320,9 +320,20 @@ class deviceStatus(TemplateView):
                                 }
                             ],
                             "proactivelyReported": True,
-                            "retrievable": True
                         },
                     },
+                    {
+                        "type": "AlexaInterface",
+                        "interface": "Alexa.EndpointHealth",
+                        "version": "3.1",
+                        "properties": {
+                            "supported": [{
+                                "name": "connectivity"
+                            }
+                            ],
+                            "proactivelyReported": True,
+                        }
+                    },
                     {
                         "type": 'AlexaInterface',
                         "interface": 'Alexa',