| Package | Description |
|---|---|
| io.github.zeroone3010.yahueapi |
| Modifier and Type | Method | Description |
|---|---|---|
State |
Light.getState() |
Gets the state of the light.
|
default State |
StateBuilderSteps.OnOffStep.keepCurrentState() |
Keeps the current state of the light to which this state is assigned: if it's on,
it stays on, and if it's off, it stays off.
|
default State |
StateBuilderSteps.OnOffStep.off() |
Creates a new
State that will turn off the light to which it is assigned. |
State |
State.Builder.on(Boolean on) |
|
default State |
StateBuilderSteps.OnOffStep.on() |
Creates a new
State that will turn on the light to which it is assigned. |
State |
StateBuilderSteps.OnOffStep.on(Boolean on) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
Light.setState(State state) |
Sets a state for the light.
|
void |
Room.setState(State state) |
Sets a state for the room or zone.
|
Copyright © 2019. All rights reserved.