Skip to content

error in homeassistant #80

@VPelt

Description

@VPelt

I'm getting the following error in homeassistant

Logger: root
Source: /usr/src/homeassistant/homeassistant/bootstrap.py:549
First occurred: May 11, 2024 at 10:52:05 AM (2777 occurrences)
Last logged: 9:11:59 AM

Uncaught thread exception
Traceback (most recent call last):
 File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
   self.run()
 File "/usr/local/lib/python3.12/threading.py", line 1010, in run
   self._target(*self._args, **self._kwargs)
 File "/usr/local/lib/python3.12/site-packages/pyShelly/block.py", line 238, in update_status_information
   LOGGER.debug("Get status from %s %s", self.id, self.friendly_name())
                                                  ^^^^^^^^^^^^^^^^^^^^
 File "/usr/local/lib/python3.12/site-packages/pyShelly/block.py", line 680, in friendly_name
   return self.type_name() + ' - ' + self.id
          ~~~~~~~~~~~~~~~~~^~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Although it's hard to see which device this is, it might be my temperature/humidity sensor. In the shelly interface (cloud) they have some different fields from my 'regular' shelly devices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions