Skip to content

Commit

Permalink
[hue] support new effects (openhab#15732)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Fiddian-Green <[email protected]>
  • Loading branch information
andrewfg authored Oct 10, 2023
1 parent b9286b0 commit 2382a55
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
@NonNullByDefault
public enum EffectType {
// fixed Effects
PRISM,
OPAL,
GLISTEN,
SPARKLE,
FIRE,
CANDLE,
Expand All @@ -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) {
Expand Down

0 comments on commit 2382a55

Please sign in to comment.