I cant get the bridge to work.
-- Logs begin at Thu 2018-03-22 22:35:28 CET. --
Mar 22 22:40:04 xtraapi python[1362]: code = loader.get_code(mod_name)
Mar 22 22:40:04 xtraapi python[1362]: File "/usr/lib/python2.7/pkgutil.py", line 283, in getcode
Mar 22 22:40:04 xtraapi python[1362]: self.code = compile(source, self.filename, 'exec')
Mar 22 22:40:04 xtraapi python[1362]: File "/usr/lib/py-otgw-mqtt/main.py", line 70
Mar 22 22:40:04 xtraapi python[1362]: lambda :"HW={}".format('1' if _ in true_values else '0'),
Mar 22 22:40:04 xtraapi python[1362]: ^
Mar 22 22:40:04 xtraapi python[1362]: SyntaxError: invalid syntax
Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Main process exited, code=exited, status=1/FAILURE
Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Unit entered failed state.
Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Failed with result 'exit-code'.
I cant get the bridge to work. -- Logs begin at Thu 2018-03-22 22:35:28 CET. -- Mar 22 22:40:04 xtraapi python[1362]: code = loader.get_code(mod_name) Mar 22 22:40:04 xtraapi python[1362]: File "/usr/lib/python2.7/pkgutil.py", line 283, in getcode Mar 22 22:40:04 xtraapi python[1362]: self.code = compile(source, self.filename, 'exec') Mar 22 22:40:04 xtraapi python[1362]: File "/usr/lib/py-otgw-mqtt/main.py", line 70 Mar 22 22:40:04 xtraapi python[1362]: lambda :"HW={}".format('1' if _ in true_values else '0'), Mar 22 22:40:04 xtraapi python[1362]: ^ Mar 22 22:40:04 xtraapi python[1362]: SyntaxError: invalid syntax Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Main process exited, code=exited, status=1/FAILURE Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Unit entered failed state. Mar 22 22:40:04 xtraapi systemd[1]: py-otgw-mqtt.service: Failed with result 'exit-code'.
`