ha-gismeteo icon indicating copy to clipboard operation
ha-gismeteo copied to clipboard

Gismeteo не работает через службу weather.get_forecasts

Open Pro100x3mal opened this issue 1 year ago • 1 comments

Checklist

  • [X] I have filled out the template to the best of my ability.
  • [X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • [X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

При попытке вызвать службу данных о погоде weather.get_forecasts - gismeteo не отображается в списке доступных. Соответственно, прогноз gismeteo не отображается в кастомной карте Weather Chart Card (https://github.com/mlamberts78/weather-chart-card/issues).

IMG_4513

Также в журнале сервера есть предупреждения об устаревших атрибутах:

IMG_4515 IMG_4516

Describe the solution you'd like

Было бы супер, если бы gismeteo обновился до версии 3, с новыми изменениями, которые позволят полноценно использовать эту интеграцию

Describe alternatives you've considered

Xxx

Additional context

Xxx

Pro100x3mal avatar Feb 12 '24 14:02 Pro100x3mal

По рекомендации из этого сообщения https://github.com/Limych/ha-gismeteo/pull/185#issue-2141203238 обновил файлы api.py, sensor.py и weather.py. Заменил файлы в /config/custom_components/gismeteo, перезагрузил HA и все заработало. Взял файлы здесь https://github.com/gilder0/ha-gismeteo/tree/HA2023.9/custom_components/gismeteo

Как временное решение пока не поправят в основной ветке думаю пойдет.

Switch2002 avatar Apr 08 '24 08:04 Switch2002