Perfect solution admin![Wink Wink](https://forum.logicmachine.net/images/smilies/wink.png)
Do I must use 1 script for 1 central status e.g. Room and another script for another status? Or I can add in this script a few groups of statuses e.g. Room1, Room2, Room3, Floor1 etc...
I tried to add:
but new_group_xxx is not calculated.
![Wink Wink](https://forum.logicmachine.net/images/smilies/wink.png)
Do I must use 1 script for 1 central status e.g. Room and another script for another status? Or I can add in this script a few groups of statuses e.g. Room1, Room2, Room3, Floor1 etc...
I tried to add:
Code:
groups = {
{ tag = 'my_group_and', output = '4/0/0', mode = 'and' },
{ tag = 'my_group_or', output = '4/0/1', mode = 'or' },
{ tag = 'my_group_avg', output = '4/0/2', mode = 'avg' },
{ tag = 'new_group_and', output = '4/0/20', mode = 'and' },
{ tag = 'new_group_or', output = '4/0/21', mode = 'or' },
{ tag = 'new_group_avg', output = '4/0/22', mode = 'avg' },
}
but new_group_xxx is not calculated.