]> git.basschouten.com Git - openhab-addons.git/commitdiff
Added MOOD_LIGHT for NOVY Fan (#14298)
authorfcvuilbak <42965756+fcvuilbak@users.noreply.github.com>
Sat, 4 Feb 2023 05:17:45 +0000 (06:17 +0100)
committerGitHub <noreply@github.com>
Sat, 4 Feb 2023 05:17:45 +0000 (06:17 +0100)
Signed-off-by: fcvuilbak <42965756+fcvuilbak@users.noreply.github.com>
bundles/org.openhab.binding.rfxcom/README.md
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComFanMessage.java

index 4ffd3dca0a956ae8158af0a3722a7312c0774ae6..d35205ff05516f7ce823d15e4b602b5474b430a3 100644 (file)
@@ -522,13 +522,13 @@ A Novy extractor fan.
 
 ##### Channels
 
-| Name            | Channel Type                        | Item Type     | Remarks                                              |
-| --------------- | ----------------------------------- | ------------- | ---------------------------------------------------- |
-| command         | [command](#channels)                | Switch        |                                                      |
-| commandString   | [commandString](#channels)          | String        | Options: POWER, UP, DOWN, LIGHT, LEARN, RESET_FILTER |
-| fanSpeedControl | [fanspeedcontrol](#channels)        | RollerShutter | Options: UP / DOWN                                   |
-| fanLight        | [fanlight](#channels)               | Switch        |                                                      |
-| signalLevel     | [system.signal-strength](#channels) | Number        |                                                      |
+| Name            | Channel Type                        | Item Type     | Remarks                                                          |
+| --------------- | ----------------------------------- | ------------- | ---------------------------------------------------------------- |
+| command         | [command](#channels)                | Switch        |                                                                  |
+| commandString   | [commandString](#channels)          | String        | Options: POWER, UP, DOWN, LIGHT, LEARN, RESET_FILTER, MOOD_LIGHT |
+| fanSpeedControl | [fanspeedcontrol](#channels)        | RollerShutter | Options: UP / DOWN                                               |
+| fanLight        | [fanlight](#channels)               | Switch        |                                                                  |
+| signalLevel     | [system.signal-strength](#channels) | Number        |                                                                  |
 
 ##### Configuration Options
 
index 629d23f75753fd2a7eccaa74aa3092c8153cdc71..fcde1589c8372a7aea21fac53c8b86d609354a28 100644 (file)
@@ -128,7 +128,8 @@ public class RFXComFanMessage extends RFXComDeviceMessageImpl<RFXComFanMessage.S
         NOVY_DOWN(3, NOVY),
         NOVY_LIGHT(4, NOVY),
         NOVY_LEARN(5, NOVY),
-        NOVY_RESET_FILTER(6, NOVY);
+        NOVY_RESET_FILTER(6, NOVY),
+        NOVY_MOOD_LIGHT(7, NOVY);
 
         private final int command;
         private final Integer speed;
@@ -405,6 +406,7 @@ public class RFXComFanMessage extends RFXComDeviceMessageImpl<RFXComFanMessage.S
                 case "NATURAL_FLOW":
                 case "PAIR":
                 case "RESET_FILTER":
+                case "MOOD_LIGHT":
                 case "SPEED_1":
                 case "SPEED_2":
                 case "SPEED_3":