diff --git a/bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/internal/handler/SoulissT31Handler.java b/bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/internal/handler/SoulissT31Handler.java
index a7d4cea61..dce745240 100644
--- a/bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/internal/handler/SoulissT31Handler.java
+++ b/bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/internal/handler/SoulissT31Handler.java
@@ -49,7 +49,6 @@ public class SoulissT31Handler extends SoulissGenericHandler {
StringType fanStateValue = StringType.EMPTY;
StringType powerState = StringType.EMPTY;
StringType fireState = StringType.EMPTY;
-
StringType lastModeState = StringType.EMPTY;
StringType modeStateValue = StringType.EMPTY;
@@ -166,6 +165,12 @@ public class SoulissT31Handler extends SoulissGenericHandler {
break;
case SoulissBindingConstants.T31_HEATINGMODE_MESSAGE_MODE_CHANNEL:
+ if (!modeStateValue.equals(state)) {
+ this.updateState(SoulissBindingConstants.T31_MODE_CHANNEL, (StringType) state);
+ modeStateValue = (StringType) state;
+ }
+ break;
+
case SoulissBindingConstants.T31_COOLINGMODE_MESSAGE_MODE_CHANNEL:
if (!modeStateValue.equals(state)) {
this.updateState(SoulissBindingConstants.T31_MODE_CHANNEL, (StringType) state);
@@ -189,13 +194,13 @@ public class SoulissT31Handler extends SoulissGenericHandler {
case SoulissBindingConstants.T31_ON_MESSAGE_FIRE_CHANNEL:
if (!fireState.equals(state)) {
this.updateState(SoulissBindingConstants.T31_FIRE_CHANNEL, OnOffType.ON);
- powerState = (StringType) state;
+ fireState = (StringType) state;
}
break;
case SoulissBindingConstants.T31_OFF_MESSAGE_FIRE_CHANNEL:
if (!fireState.equals(state)) {
this.updateState(SoulissBindingConstants.T31_FIRE_CHANNEL, OnOffType.OFF);
- powerState = (StringType) state;
+ fireState = (StringType) state;
}
break;
diff --git a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml
index b1ad872e1..f7fabd700 100644
--- a/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml
+++ b/bundles/org.openhab.binding.souliss/src/main/resources/OH-INF/thing/thing-types.xml
@@ -1042,14 +1042,14 @@
- trigger
+ Switch
Button to trigger something
Switch
- trigger
+ Switch
Button to trigger something
Switch
@@ -1154,7 +1154,6 @@
Number
- trigger
Floating Point Input
Temperature
@@ -1186,7 +1185,7 @@
-
+
Number:Temperature
Setpoint temperature