How can I set PARTY_MODE with Homematic Binding?

How can I set the Party/Vacation Mode with Homematic Binding in Rules?

Items

Switch  HmWZHeizungModusParty               { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_MODE" }
String  HmWZHeizungModusPartyModeSubmit     { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_MODE_SUBMIT" }
Number  HmWZHeizungModusPartyTemperature    { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_TEMPERATURE" }
Number  HmWZHeizungModusPartyStartTime      { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_START_TIME" }
Number  HmWZHeizungModusPartyStartDay       { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_START_DAY" }
Number  HmWZHeizungModusPartyStartMonth     { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_START_MONTH" }
Number  HmWZHeizungModusPartyStartYear      { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_START_YEAR" }
Number  HmWZHeizungModusPartyStopTime       { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_STOP_TIME" }
Number  HmWZHeizungModusPartyStopDay        { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_STOP_DAY" }
Number  HmWZHeizungModusPartyStopMonth      { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_STOP_MONTH" }
Number  HmWZHeizungModusPartyStopYear       { channel="homematic:HM-CC-RT-DN:ccu:KEQ0577355:4#PARTY_STOP_YEAR" }
end

I tried to set following in a rule

rule "Set Party Mode"
when
  Item HmWZHeizungModusParty received command
then
  if (HmWZHeizungModusParty.state == ON)
  {
     HmWZHeizungModusPartyTemperature.sendCommand(13.5)
     HmWZHeizungModusPartyStartTime.sendCommand(1)
     HmWZHeizungModusPartyStartDay.sendCommand(23)  
     HmWZHeizungModusPartyStartMonth.sendCommand(2)
     HmWZHeizungModusPartyStartYear.sendCommand(18) 
     HmWZHeizungModusPartyStopTime.sendCommand(720)  
     HmWZHeizungModusPartyStopDay.sendCommand(24)   
     HmWZHeizungModusPartyStopMonth.sendCommand(2) 
     HmWZHeizungModusPartyStopYear.sendCommand(18) 
   }
end

and this one:

rule "Set Party Mode"
when
  Item HmWZHeizungModusParty received command
then
  if (HmWZHeizungModusParty.state == ON)
  {
     HmWZHeizungModusPartyModeSubmit.sendCommand("13.5,1,23,2,18,720,24,2,18")
  }
end

But nothing happens on the thermostat. All other items, e.g. automatic, boost, temperature etc. are working fine.

Thanks
Holly

I get it. My fault :-/

You can use one of the rules if you want. Both works fine, but my “if with only single =” was my fault.