Hi everyone,
I’ve searched a lot, but it seems I’m unable to find the correct answer to a really simple question…
I’m trying to have a simple button (not a switch) in my sitemap… Visually I like the mapping representation, but I simply don’t want the button to remain selected. That’s also a problem when I try to press the already selected button, since my rules don’t fire because the state is already selected…
rule rSC_PT
when
Item iSC_PT_INPUT received command
then
if (receivedCommand == 0) {
//close all rollershutters
rs.sendCommand(DOWN)
}
iSC_PT_INPUT.postUpdate(2)
end
Thanks for the answers (and tips), but it doesn’t seem to work…
The log correctly display a changed value (from 0 to 2), but in the basic UI the button sill remains selected…