Class LightCommand
-
- All Implemented Interfaces:
public final class LightCommandThe command payload received from Home Assistant.
Examples of commands:
{"state":"ON","color_temp":230} {"state":"ON","color":{"r":255,"g":41,"b":38}} {"state":"ON","effect":"effect2"}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLightCommand.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Booleanstateprivate final Integerbrightnessprivate final Colorcolorprivate final Stringeffectprivate final Integerflashprivate final Floattransitionpublic final static LightCommand.CompanionCompanion
-