In a rules file in openHAB I can execute postUpdate
and sendCommand
. What is the difference?
I noticed, that when I use postUpdate(zwaveLamp1, ON)
, only its value is changed, no actions are performed - the light stays dark. sendCommand(zwaveLamp1, ON)
will perform the bound action and switch the light on and the item is updated.
Whats the use case of postUpdate
? What is it good for?