| Algorithm 1. Device’s Controllable | |
| Begin: Device’s name | |
| 1: | controllable = the “control” field of device in JSONstate |
| 2: | if controllable is True then |
| 3: | return True |
| 4: | else |
| 5: | return False |
| 6: | end if |
| 7: | END |
| Algorithm 1. Device’s Controllable | |
| Begin: Device’s name | |
| 1: | controllable = the “control” field of device in JSONstate |
| 2: | if controllable is True then |
| 3: | return True |
| 4: | else |
| 5: | return False |
| 6: | end if |
| 7: | END |