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.15k forks source link

Various integrations stopped working #127493

Closed hegien closed 4 hours ago

hegien commented 4 hours ago

The problem

After update to HA Version 2024.10.0 the integrations UPnp/IDG and Varta Storage show errors

What version of Home Assistant Core has the issue?

2024.10.0

What was the last working version of Home Assistant Core?

2024.9.4

What type of installation are you running?

Home Assistant Container

Integration causing the issue

UPnp/IDG and Varta Storage

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 21:11:52 (1 occurrences)
Last logged: 21:11:52

Error setting up entry 192.168.178.49 (S/N: xxxxxxxxx ) for varta_storage
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/varta_storage/__init__.py", line 23, in async_setup_entry
    varta = vartastorage.VartaStorage(entry.data["host"], entry.data["port"])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/vartastorage/vartastorage.py", line 11, in __init__
    self.client = Client(modbus_host, modbus_port)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/vartastorage/client.py", line 17, in __init__
    self.modbus_client = ModbusTcpClient(self.modbus_host, self.modbus_port)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/pymodbus/client/tcp.py", line 158, in __init__
    super().__init__(framer, retries)
  File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 190, in __init__
    self.framer: ModbusFramer = FRAMER_NAME_TO_CLASS.get(
                                ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'int' object is not callable

Additional information

No response

mib1185 commented 4 hours ago

the provided error message does only show an issue with custom_components/varta_storage which is not maintained by the HA core project. Please report your issue to the maintainer or in the source repository of this custom component.

For the "UPnp/IDG" please open a seperate issue report and don't forget to add details like log messages