I would like to associate the two devices … ie I set the thermostat on a virtual (plugin) heating temperature at 22 degrees the thermostat sets the temperature on the same Danfoss LC?
_ChangeSetpoint is the name of the condition statement. The name could be anything but the leading underscore is important in this case. This condition has the expression Setpoint which is simply the name of the Device Property that refers to the thermostat’s CurrentSetpoint.
Whenever the thermostat’s setpoint changes, the condition _ChangeSetpoint will be evaluated and, because it is simply the value of the setpoint, its value will be changed. Because the condition name starts with an underscore, which is a special notation, the action associated with this condition will be fired whenever the value changes.
The action for _ChangeSetpoint sends a new CurrentSetpoint to the DanfossLC. The new setpoint is taken from the Device Property Setpoint.
So, when you change the setpoint on your thermostat, it will be sent to the DanfossLC.
You have created the Device Property for your thermostat with the name p1 so this is the name you need to use in the Condition expression. You have also accepted the default name of c1 for the Condition.
Change the Condition name from c1 to _c1 and change the expression from _Thermostat Setpoint to p1. You will need to create a new Action for the Condition _c1.
In the screen-shots you have posted, your Action is not correct: It should be for the Condition _c1 not c1 and the expression for NewCurrentSetpoint should be {(p1)}.
This Action will be performed when the Condition _c1 changes to a new value. It will perform a SetCurrentSetpoint action with NewCurrentSetpoint set to the value of p1 - which should be the last value read from the thermostat’s CurrentSetpoint.