-
-
Notifications
You must be signed in to change notification settings - Fork 589
Closed
Description
It is possible that two siids/services have the same "name" component in the urn, for example, the schema for yeelink.switch.sw1
defines these two sharing the same urn:
"iid": 2,
"type": "urn:miot-spec-v2:service:switch:0000780C:yeelink-sw1:1:0000C809",
"description": "First Switch Service",
and
"iid": 3,
"type": "urn:miot-spec-v2:service:switch:0000780C:yeelink-sw1:1:0000C809",
"description": "Second Switch Service",
that have same properties. As the id
for properties is currently the combination of <name>
(here switch
), the latter overwrites the former.
This is similar to the actions (e.g., reset filter on some vacuums) which should also be handled somehow, maybe just adding a suffix?