In Example 8 the "@type": "FadeAction" should really be at the top level of the Action object rather than inside the input member, because the annotation applies to the action object and not the input. If there was an output member as well it would not have a separate @type.
Not sure what Mozilla WebThings implementations actually do here...
In Example 8 the
"@type": "FadeAction"
should really be at the top level of the Action object rather than inside the input member, because the annotation applies to the action object and not the input. If there was an output member as well it would not have a separate@type
.Not sure what Mozilla WebThings implementations actually do here...