Otherwise I get error:
Traceback (most recent call last):
File "/home/pi/fermax-open-door-script/Fermax-Blue-Intercom.py", line 644, in
open_door()
File "/home/pi/fermax-open-door-script/Fermax-Blue-Intercom.py", line 553, in open_door
f'Success, using provided deviceId {deviceId}, calling directed opendoor...')
^^^^^^^^
UnboundLocalError: cannot access local variable 'deviceId' where it is not associated with a value
Otherwise I get error:
Traceback (most recent call last):
File "/home/pi/fermax-open-door-script/Fermax-Blue-Intercom.py", line 644, in
open_door()
File "/home/pi/fermax-open-door-script/Fermax-Blue-Intercom.py", line 553, in open_door
f'Success, using provided deviceId {deviceId}, calling directed opendoor...')
^^^^^^^^
UnboundLocalError: cannot access local variable 'deviceId' where it is not associated with a value