home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.93k stars 30.16k forks source link

Tellstick 433MHz temp sensor values no longer registered #127478

Open KptnHaddock opened 10 hours ago

KptnHaddock commented 10 hours ago

The problem

Just after upgrading from Core 2024.9.2 to Core 2024.10.1 values from Telldus Live integration with local device TellStick ZNet Lite v2 stopped. Not all Tellstick device values a missing in home assistant, only values from temp sensors connected via 433MHz to the Tellstick gateway are missing, 8 devices in my case. Devices connected to Tellstick via Z-wave still shows up in home assistant. The Temp sensor values comes up both in the Telldus live system and other systems it is integrated with, such as Tibber energy operator why I suspect there could be an issue with Core 2024.10.1. I have not yet found a way to verify this. So far I have tried to restart the Tellstick device, Reload, Disable/Enable and Delete/Re-integrate the Telldus live integration without success.

What version of Home Assistant Core has the issue?

2024.10.1

What was the last working version of Home Assistant Core?

2024.9.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Telldus Live

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tellduslive

Diagnostics information

home-assistant_tellduslive_2024-10-03T17-30-48.382Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 10 hours ago

Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration (tellduslive) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tellduslive` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tellduslive` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tellduslive documentation tellduslive source (message by IssueLinks)

develop-daraf commented 8 hours ago

I believe I have the same problem. All my temperature and humidity sensors from tellduslive became unavailable after updating to 2024.10.0, but the rest of my entities are working. I've done some more checking in the logs, and since the last update I get the following error in the log:

2024-10-03 21:22:57.933 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity None for domain sensor with platform tellduslive
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 714, in _async_add_entity
    entity.add_to_platform_start(
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 232, in add_to_platform_start
    if self.unique_id is None or self.device_class is None:
       ^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/tellduslive/sensor.py", line 197, in unique_id
    return "-".join(self._id)
           ^^^^^^^^^^^^^^^^^^
TypeError: sequence item 2: expected str instance, int found

I looked in the check-in logs of tellduslive/sensor.py and there is a new change on the line reported by the error. The new code assumes that all elements of the list/tuple are strings, but the element with index 2 seems to be an integer. As a workaround I added a custom component for tellduslive containing a copy of the latest code, except for this last check in. This seems to work fine and I got my temperature and humidity sensors back.

toresetre commented 6 hours ago

I have the same issue and can confirm that rolling back to 2024.9.3 brings back the temperatures from Telldus devices.

Abrelax commented 3 hours ago

I have the same issue and can confirm that rolling back to 2024.9.3 brings back the temperatures from Telldus devices.

Double confirmed this workaround . Rollback of core to 2024.9.3made my telldus indoor/ outdoor thermo /hygro sensor available in HA again . Using the outdoor temp sensor of this device for car pre-heater automation.