public interface Switch extends Profile
Modifier and Type | Method and Description |
---|---|
void |
off()
Change the switch state to off.
|
void |
on()
Change the switch state to on.
|
void on() throws java.io.IOException
java.io.IOException
- if there is a communication error with the devicevoid off() throws java.io.IOException
java.io.IOException
- if there is a communication error with the device