]> git.basschouten.com Git - openhab-addons.git/commitdiff
[hue] support new effects (#15732)
authorAndrew Fiddian-Green <software@whitebear.ch>
Tue, 10 Oct 2023 17:11:36 +0000 (18:11 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Oct 2023 17:11:36 +0000 (19:11 +0200)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
bundles/org.openhab.binding.hue/src/main/java/org/openhab/binding/hue/internal/dto/clip2/enums/EffectType.java

index 8c6d429a095ab4c3e76c4759e1613918e69bae5a..09663a145971c4a3daf55c6ab9c683cdf8913690 100644 (file)
@@ -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) {