-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA Core Beta 2024.1.0b3 breaks Weatherlink Integration #59
Comments
This is now in Production ... Logger: homeassistant.loader Unexpected exception importing platform custom_components.weatherlink.sensor |
Here are the logs from today's production release 2024.1.0 : Logger: homeassistant.loader Unexpected exception importing platform custom_components.weatherlink.sensor |
Same problem for me in 2024.1.0. Restore to 2023.12.4 is OK. |
Same here too, roll back to 2023.12.4 working OK. |
I have the same problem with 2024.1.0 Logger: homeassistant.loader Unexpected exception importing platform custom_components.weatherlink.sensor |
+1 having same issue after 2024.1.0 update |
Same here with the weatherlink-integration. Also same problem with the foxess_modbus-integration. |
I am having the issue below now, on 2024.1.0. I don't know if this is the same related issue as everyone else but everything worked fine until I updated to 2024.1.0. @siku2 Logger: homeassistant.components.template.template_entity TemplateError('UndefinedError: 'None' has no attribute 'conditions'') while processing template 'Template<template=({{ state_attr("sensor.davis_vantage_pro_curr", "data")["conditions"][0]["temp"] }}) renders=28>' for attribute '_attr_native_value' in entity 'sensor.temp' UPDATE EDIT Logger: homeassistant.loader Unexpected exception importing platform custom_components.weatherlink.sensor |
Same Problem 2024.1 release: Logger: homeassistant.loader Unexpected exception importing platform custom_components.weatherlink.sensor |
I think this is caused by home-assistant/core#107149 and have a fix that seems to work. Preparing a pull request. |
HA 2024.1.1 has been released with the fix. |
Confirmed! HA 2024.1.1 resolved the issue for me. |
Confirmed as well! HA 2024.1.1 resolves this issue for me too. |
2024.1.1 resolved for me as well. |
Confirmed. 2024.1.1 resolved this. |
And here, all working in 2024.1.1 |
Hi, How should I enter the 'Host name', I just know the IP address, need I some port? I am direc on the same network. With best regards Gerhard |
HA Core Beta updates 2024.01.0b1 and above all break the Integration. Functions properly on 2023.12.4 .
See logs below:
Logger: homeassistant.setup
Source: setup.py:403
First occurred: 05:14:09 (3 occurrences)
Last logged: 05:20:12
Unable to prepare setup for platform 'weatherlink.sensor': Platform not found (Exception importing custom_components.weatherlink.sensor).
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 05:14:09 (3 occurrences)
Last logged: 05:20:12
Unexpected exception importing platform custom_components.weatherlink.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/weatherlink/sensor.py", line 4, in
from .sensor_air_quality import *
File "/config/custom_components/weatherlink/sensor_air_quality.py", line 18, in
class AirQualitySensor(WeatherLinkSensor, abc=True):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 295, in new
return super().new(mcs, name, bases, namespace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 106, in new
File "/config/custom_components/weatherlink/sensor_common.py", line 45, in init_subclass
sensor_name = kwargs.pop("sensor_name")
^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'sensor_name'
The text was updated successfully, but these errors were encountered: