Created
September 29, 2015 19:45
-
-
Save dpjanes/c159e83f6ac2dfc232b8 to your computer and use it in GitHub Desktop.
Netflix & Chill #3 - in JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
things = require('iotdb').connect() | |
things | |
.with_facet(":media.tv") | |
.with_zone("Living Room") | |
.set(":on", true) | |
.set(":band", ":band.service.netflix") | |
things | |
.with_facet(":lighting") | |
.with_zone("Living Room") | |
.set(":on", false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment