*FIXED* Changes via HABPanel not working, via PaperUI does

Hello together,

I am not a developer, so I am not really good at finding and fixing problems.
But in the most cases I can fix it by my self.

But actual I have a Problem, where I need your help.
I have some danfoss-LC13 and a MAX!Cube with a MAX!Basic thermostat.

If I change the temperature via PaperUI it worked for each thermostats. But if I try to use HABPanel, the temperature variable is changed, but there is no command send to the thermostat.

[ItemStateChangedEvent     ] - max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp changed from 20 to 18.5
[ItemStateChangedEvent     ] - max_bridge_LEQ043XXXX_duty_cycle changed from 6 to 9
[ItemCommandEvent          ] - Item 'max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp' received command 18.5
[ItemStateChangedEvent     ] - max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp changed from 20 to 18.5
[ItemStateChangedEvent     ] - max_bridge_LEQ043XXXX_duty_cycle changed from 6 to 9

Look at the end there is an

max_bridge_LEQ043XXXX_duty_cycle changed from 6 to 9.

If I trigger the same via a dimmer and the HABPanel, it has no effct.

[ItemStateChangedEvent     ] - max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp changed from 18.5 to 19.5

My rule look like:

rule "Temperatur im Schlafzimmer erhöhen / verringern"
        when
                Item Soll_Temp_Dimmer_SZ received command
        then
        if ((receivedCommand==INCREASE) || (receivedCommand==DECREASE)) {
                var Number temp = 0
                temp = max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp.state
                if(receivedCommand==INCREASE) temp = temp + 1
                if(receivedCommand==DECREASE) temp = temp - 1

                postUpdate(max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp, temp);
        }
end

Does anybody have an idea, why this isn`t working?

Thank you.

Ok, I fixed it.

My fault was, that I did a
postUpdate instead of a sendCommand

so the correct way is:

rule "Temperatur im Schlafzimmer erhöhen / verringern"
        when
                Item Soll_Temp_Dimmer_SZ received command
        then
        if ((receivedCommand==INCREASE) || (receivedCommand==DECREASE)) {
                var Number temp = 0
                temp = max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp.state
                if(receivedCommand==INCREASE) temp = temp + 1
                if(receivedCommand==DECREASE) temp = temp - 1

                sendCommand (max_thermostat_LEQ043XXXX_MEQ145XXXX_set_temp, temp);
        }
end

I hope this will help maybe someone else.