Skip to content

Problem with HA 2023.12.3 #24

Description

@rematde

The problem

Error on initial configuration.

  • direct connection over RS485 (no ser2net)

Version of Easee integration having the issue?

0.18

Version of Home Assistant Core having the issue?

2023.12.3

Anything in the logs that might be useful for us?

Logger: custom_components.sentio.config_flow
Source: custom_components/sentio/config_flow.py:77
Integration: Sentio sauna (documentation, issues)
First occurred: 14:32:02 (7 occurrences)
Last logged: 14:38:29

Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/sentio/config_flow.py", line 77, in async_step_user
    info = await validate_input(self.hass, user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/sentio/config_flow.py", line 51, in validate_input
    if not await hub.connect(data[SERIAL_PORT]):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/sentio/config_flow.py", line 38, in connect
    api.get_config()
  File "/usr/local/lib/python3.11/site-packages/pysentio/__init__.py", line 158, in get_config
    self._write_read('get config\n')
  File "/usr/local/lib/python3.11/site-packages/pysentio/__init__.py", line 180, in _write_read
    ret = self._serial.read_until(';\r\n'.encode('utf-8'), 400).decode("utf-8")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Additional information

As I can't configure, I can't debug?!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions