rule "Состояние кнопок"
when
Item gButtons changed
then
gButtons.members.filter( item| item.state == ON ).forEach( item| item.postUpdate(OFF))
end
How i can postUpdate for all items in group gButtons but exclude only one item with name “test”?
i need something like this “gButtons.members.filter( item| item.name != “test” )” but it doesn’t work.