[hue] support new effects (#15732)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>pull/15734/head
parent
b9286b0fce
commit
2382a557d3
|
@ -25,6 +25,9 @@ import org.eclipse.jdt.annotation.Nullable;
|
|||
@NonNullByDefault
|
||||
public enum EffectType {
|
||||
// fixed Effects
|
||||
PRISM,
|
||||
OPAL,
|
||||
GLISTEN,
|
||||
SPARKLE,
|
||||
FIRE,
|
||||
CANDLE,
|
||||
|
@ -33,7 +36,7 @@ public enum EffectType {
|
|||
// applies to both
|
||||
NO_EFFECT;
|
||||
|
||||
private static final Set<EffectType> FIXED = Set.of(SPARKLE, FIRE, CANDLE);
|
||||
private static final Set<EffectType> FIXED = Set.of(PRISM, OPAL, GLISTEN, SPARKLE, FIRE, CANDLE);
|
||||
private static final Set<EffectType> TIMED = Set.of(SUNRISE);
|
||||
|
||||
public static EffectType of(@Nullable String value) {
|
||||
|
|
Loading…
Reference in New Issue