Created
February 12, 2017 21:07
-
-
Save spro/3be622a27047fbddbb73ed51e6cbd85e to your computer and use it in GitHub Desktop.
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
> please if the temperature in minnesota is equal to 2 then turn the office light off thanks | |
( %if | |
( %condition | |
( %currentWeather | |
( $location minnesota ) ) | |
( $operator equal to ) | |
( $number 2 ) ) | |
( %setDeviceState | |
( $device.name office light ) | |
( $device.state off ) ) ) | |
> tell me the state of the lamp switch and then what time is it in minnesota thank you | |
( %sequence | |
( %getDeviceState | |
( $device.name lamp switch ) ) | |
( %getTime | |
( $location minnesota ) ) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment