fix: accept non-controllable device properties

This commit is contained in:
2026-07-22 17:19:02 +08:00
parent 93799df53c
commit 3200089fa4
2 changed files with 50 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
<!doctype html>
<html>
<body>
<script data-page="app" type="application/json">{"props":{"product":{"name":"Test Sensor","model":"test.sensor.v1"},"i18n":{"zh_cn":{}},"tree":{"services":[{"iid":2,"type":"sensor","properties":[{"iid":1,"type":"event","description":"Event","format":"string","access":["notify"]},{"iid":2,"type":"command","description":"Command","format":"uint8","access":[],"valueRange":[0,10,1]}],"actions":[{"iid":1,"type":"execute","description":"Execute","in":[2]}]}]}}}</script>
</body>
</html>