Having Trouble with entities- was working but perhaps an update has broken entity. As soon as I add “sensor” “number” or “switch” the bacnet service crashes???
-----------------------------------------------------------
Add-on: Bepacom BACnet/IP Interface
Bepacom BACnet/IP interface for the Bepacom EcoPanel. Allows BACnet/IP devices to be available to Home Assistant through an API.
-----------------------------------------------------------
Add-on version: 1.3.3
You are running the latest version of this add-on.
System: Home Assistant OS 12.0 (aarch64 / green)
Home Assistant Core: 2024.2.4
Home Assistant Supervisor: 2024.02.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/bin/main.py", line 315, in main
object_manager = ObjectManager(
^^^^^^^^^^^^^^
File "/usr/bin/BACnetIOHandler.py", line 911, in __init__
self.add_object(object_type="binaryValue", index=index, entity=data)
File "/usr/bin/BACnetIOHandler.py", line 1101, in add_object
friendly_name = entity["attributes"].get("friendly_name")
~~~~~~^^^^^^^^^^^^^^
TypeError: 'bool' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/bacpypes3/ipv4/__init__.py", line 155, in set_local_transport_protocol
transport, protocol = task.result()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1438, in create_datagram_endpoint
await waiter
asyncio.exceptions.CancelledError
ERROR: An uncaught error occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/bin/main.py", line 315, in main
object_manager = ObjectManager(
^^^^^^^^^^^^^^
File "/usr/bin/BACnetIOHandler.py", line 911, in __init__
self.add_object(object_type="binaryValue", index=index, entity=data)
File "/usr/bin/BACnetIOHandler.py", line 1101, in add_object
friendly_name = entity["attributes"].get("friendly_name")
~~~~~~^^^^^^^^^^^^^^
TypeError: 'bool' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.12/site-packages/bacpypes3/ipv4/__init__.py", line 186, in set_broadcast_transport_protocol
transport, protocol = task.result()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1438, in create_datagram_endpoint
await waiter
asyncio.exceptions.CancelledError
Traceback (most recent call last):
File "/usr/bin/main.py", line 388, in <module>
asyncio.run(main())
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/bin/main.py", line 315, in main
object_manager = ObjectManager(
^^^^^^^^^^^^^^
File "/usr/bin/BACnetIOHandler.py", line 911, in __init__
self.add_object(object_type="binaryValue", index=index, entity=data)
File "/usr/bin/BACnetIOHandler.py", line 1101, in add_object
friendly_name = entity["attributes"].get("friendly_name")
~~~~~~^^^^^^^^^^^^^^
TypeError: 'bool' object is not subscriptable
[12:23:10] INFO: Service BACnet Interface exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[12:23:10] INFO: Service NGINX exited with code 256 (by signal 15)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service interface: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service interface successfully stopped
s6-rc: info: service init-interface: stopping
s6-rc: info: service init-interface successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped