StringType fanStateValue = StringType.EMPTY;
StringType powerState = StringType.EMPTY;
StringType fireState = StringType.EMPTY;
-
StringType lastModeState = StringType.EMPTY;
StringType modeStateValue = StringType.EMPTY;
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);
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;
</channel-type>
<channel-type id="button">
- <kind>trigger</kind>
+ <item-type>Switch</item-type>
<label>Button</label>
<description>Button to trigger something</description>
<category>Switch</category>
</channel-type>
<channel-type id="buttonReadOnly">
- <kind>trigger</kind>
+ <item-type>Switch</item-type>
<label>Button</label>
<description>Button to trigger something</description>
<category>Switch</category>
<channel-type id="float6n">
<item-type>Number</item-type>
- <kind>trigger</kind>
<label>Setpoint</label>
<description>Floating Point Input</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
- <channel-type id="setpointTemperature" advanced="true">
+ <channel-type id="setpointTemperature">
<item-type>Number:Temperature</item-type>
<label>Setpoint Temperature</label>
<description>Setpoint temperature</description>