test
This commit is contained in:
parent
c43f3772cf
commit
b02b485ca0
@ -143,6 +143,7 @@ def make_bridges(_rules):
|
||||
if e['SYSTEM'] == _confsystem and e['TS'] == 2:
|
||||
ts2 = True
|
||||
if _bridge[0:1] != '#':
|
||||
print(_confsystem)
|
||||
_tmout = CONFIG['SYSTEMS'][_confsystem]['DEFAULT_UA_TIMER']
|
||||
if ts1 == False:
|
||||
_rules[_bridge].append({'SYSTEM': _confsystem, 'TS': 1, 'TGID': bytes_3(int(_bridge)),'ACTIVE': False,'TIMEOUT': _tmout * 60,'TO_TYPE': 'ON','OFF': [],'ON': [bytes_3(int(_bridge)),],'RESET': [], 'TIMER': time()})
|
||||
|
Loading…
Reference in New Issue
Block a user