Skip to content
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

Объект weather.* не предоставляется службой после обновления HA 2024.1 #94

Closed
4 tasks done
1iverea9er opened this issue Jan 6, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@1iverea9er
Copy link

В чем проблема?

После обновления HA до версии 2024.1 объект более не предоставляется службой yandex_weather.weather

При использовании какой версии интеграции возникает проблема?

3.1.1

Какая версия Home Assistant используется?

2024.1

Какой способ установки Home Assistant используется?

Home Assistant Supervised

Самопроверка по созданию ключа

  • при добавлении ключа в кабинете разработчика он добавлялся как "тестовый"
  • тип ключа в кабинете разработчика был изменен на "погода для сайта"
  • после изменения типа ключа прошло не менее 20 минут
  • в кабинете разработчка я вижу что с запросы делаются именно с этим ключом

Есть что-нибудь полезное в логе?

Logger: homeassistant.setup
Source: setup.py:403
First occurred: 18:59:50 (1 occurrences)
Last logged: 18:59:50

Unable to prepare setup for platform 'yandex_weather.weather': Platform not found (Exception importing custom_components.yandex_weather.weather).



Logger: homeassistant.loader
Source: loader.py:842
First occurred: 18:59:50 (1 occurrences)
Last logged: 18:59:50

Unexpected exception importing platform custom_components.yandex_weather.weather
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 "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/custom_components/yandex_weather/weather.py", line 74, in <module>
    class YandexWeather(WeatherEntity, CoordinatorEntity, RestoreEntity):
  File "/config/custom_components/yandex_weather/weather.py", line 230, in YandexWeather
    @WeatherEntity.condition.setter
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'cached_property' object has no attribute 'setter'

Дополнительная информация

No response

@1iverea9er 1iverea9er changed the title Объект weather.* не предоставляется после обновления HA 2024.1 Объект weather.* не предоставляется службой после обновления HA 2024.1 Jan 6, 2024
@IATkachenko
Copy link
Owner

Повтор #90
Исправлено в v3.1.2

@IATkachenko IATkachenko closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
@IATkachenko IATkachenko added the duplicate This issue or pull request already exists label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants