@jkandasa Thanks for the hint. I'v created following script and it works 😄

var dimCree = mcApi.uidTag().getByUid("dimm_cree_uid");
var dimCob = mcApi.uidTag().getByUid("dimm_cob_uid");
( dimCree.sensorVariable.value == 0 && dimCob.sensorVariable.value == 0 )

Thanks for all the effort,
Marek