WebThingsIO / api

Web Thing API Specification
http://iot.mozilla.org/wot/
Other
164 stars 25 forks source link

example: Align to virtual lamp #138

Closed rzr closed 5 years ago

rzr commented 5 years ago

Change-Id: I5778704d2762116ea85dc117ddec41b8b610197a Relate-to: https://github.com/mozilla-iot/virtual-things-adapter/pull/35# Signed-off-by: Philippe Coval p.coval@samsung.com

mrstegeman commented 5 years ago

Why? The name of the property is irrelevant.

mrstegeman commented 5 years ago

Just saw your comment in the adapter. @benfrancis do you care either way about this?

benfrancis commented 5 years ago

There's no need to change this, for the reasons discussed in https://github.com/mozilla-iot/virtual-things-adapter/pull/35

The ids of properties can be set to anything the developer wants to set them to, there's no need for them to align with a standard or each other. The @type annotations are what clients should use to derive semantic information.