Feb 19 14:25:09 raspberrypi hass[198884]: 2024-02-19 14:25:09 ERROR Error while setting up dijnet platform for sensor
Feb 19 14:25:09 raspberrypi hass[198884]: Traceback (most recent call last):
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/ha_venv3_12/lib/python3.12/site-packages/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
Feb 19 14:25:09 raspberrypi hass[198884]: await asyncio.shield(task)
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/homeassistant_conf/custom_components/dijnet/sensor.py", line 78, in async_setup_entry
Feb 19 14:25:09 raspberrypi hass[198884]: for registered_invoice_issuer in await controller.get_issuers():
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/homeassistant_conf/custom_components/dijnet/controller.py", line 386, in get_issuers
Feb 19 14:25:09 raspberrypi hass[198884]: await self.update_registered_issuers()
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/homeassistant_conf/custom_components/dijnet/controller.py", line 420, in update_registered_issuers
Feb 19 14:25:09 raspberrypi hass[198884]: issuer_name = row.children("td:nth-child(1)").text()
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/ha_venv3_12/lib/python3.12/site-packages/pyquery/pyquery.py", line 1156, in text
Feb 19 14:25:09 raspberrypi hass[198884]: return ' '.join(
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/ha_venv3_12/lib/python3.12/site-packages/pyquery/pyquery.py", line 1158, in <genexpr>
Feb 19 14:25:09 raspberrypi hass[198884]: extract_text(tag, **kwargs) for tag in self
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/ha_venv3_12/lib/python3.12/site-packages/pyquery/text.py", line 100, in extract_text
Feb 19 14:25:09 raspberrypi hass[198884]: a = extract_text_array(dom, squash_artifical_nl=squash_space)
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "/home/pi/ha_venv3_12/lib/python3.12/site-packages/pyquery/text.py", line 82, in extract_text_array
Feb 19 14:25:09 raspberrypi hass[198884]: if dom.text is not None:
Feb 19 14:25:09 raspberrypi hass[198884]: ^^^^^^^^
Feb 19 14:25:09 raspberrypi hass[198884]: File "src/lxml/etree.pyx", line 1042, in lxml.etree._Element.text.__get__
Feb 19 14:25:09 raspberrypi hass[198884]: File "src/lxml/apihelpers.pxi", line 708, in lxml.etree._collectText
Feb 19 14:25:09 raspberrypi hass[198884]: File "src/lxml/apihelpers.pxi", line 1512, in lxml.etree.funicode
Feb 19 14:25:09 raspberrypi hass[198884]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 1: invalid continuation byte
(please discard the fact that logs go into the root syslog; that's caused by the new toyota integration)