marq24 / ha-senec-v3

SENEC.Home V2.x/V3/V4 Integration for Home Assistant that will work with the recent changes introduced by SENEC (supporting https) - successfully tested with latest MCU Version: 0827 (Feb 2024).
Apache License 2.0
53 stars 4 forks source link

Webapi and inverter not running any more since 2024.7 #99

Closed pietnie closed 3 months ago

pietnie commented 3 months ago

With which version of the integration you have an issue?

SENEC.Home V3 hybrid/SENEC.Home V3 hybrid duo/SENEC.Home V2.1 (or older)

Multiple Systems Environment?

Checklist

Add a description

Since update to 2024.7 both webapi and inverter cannot start anymore, furthermore different warnings appear like the following

ENERGY_KILO_WATT_HOUR was used from senec, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'senec' custom integration POWER_WATT was used from senec, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'senec' custom integration POWER_KILO_WATT was used from senec, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.KILO_WATT instead, please report it to the author of the 'senec' custom integration TEMP_CELSIUS was used from senec, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'senec' custom integration

Add your DEBUG log output

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/senec/__init__.py", line 89, in async_setup_entry
    coordinator = SenecDataUpdateCoordinator(hass, session, config_entry, langDict=_LANG)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/senec/__init__.py", line 186, in __init__
    self.senec = MySenecWebPortal(user=user, pwd=pwd, websession=session,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/senec/pysenec_ha/__init__.py", line 1851, in __init__
    loop = aiohttp.helpers.get_running_loop(websession.loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'aiohttp.helpers' has no attribute 'get_running_loop'
pietnie commented 3 months ago

Please delete, the integration was not updated, a new install was successfull