WebThingsIO/webthing-node

'OnOffSwitch', 'Light'

tobiges opened this issue · 1 comments

Why does every light in the examples also have the type 'OnOffSwitch' ?
I thought the light itself already has an OnOffProperty.

No real reason. It was just done to follow the examples in the spec. There's no reason you have to have both OnOffSwitch and Light.