-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Странное поведение в кастомной карточке custom:clock-weather-card #112
Comments
А в дефолтной карточке прогноз правильный? |
Похоже что карточка рассчитана на недельный прогноз, а Яндекс отдает прогноз на два 6 часовых интервала, который я прокидываю в HA как "прогноз 2 раза в сутки". |
Странно, что раньше на НА 2024.3.* и v3.1.3 интеграции эта карточка корректно работала с двухдневным прогнозом Яндекса.... |
|
type: custom:clock-weather-card
entity: weather.yandex_weather
hourly_forecast: true правда они какие-то странные и отличаются от дефолтной карточки. Он хочет странное: Можете прислать как выглядит один элемент forecast для Meteorological institute у вас (панель разработчика -> состояние)? forecast:
- datetime: '2024-04-07T15:43:06.096378'
wind_bearing: 270
native_temperature: 12
native_templow: 10
native_pressure: 998
native_wind_speed: 1.9
native_precipitation: 0
precipitation_probability: 0
condition: cloudy
is_daytime: false |
собственно, у меня так и было ))) |
Да, это именно из-за этого.
Начиная с нашей версии 3.1.0 в части атрибутов ничего не менялось -- вот тут вся магия делается https://github.com/IATkachenko/HA-YandexWeather/blame/main/custom_components/yandex_weather/updater.py#L111, так что думаю в HA умолчания поправили. |
Это нормально: в 2024.4 HA разделил получение прогноза и текущей погоды. Яндекс так не умеет, а 2 API запроса мы слать (у нас их всего 50 в день) не хотим, поэтому живем с прогнозом внутри объекта погоды. |
тогда все более-мене понятно ))) |
…er-card https://github.com/pkissling/clock-weather-card with ```yaml type: custom:clock-weather-card entity: weather.yandex_weather hourly_forecast: true ``` now will show pretty forecast from the integration. Fix #112
выглядит отлично! ждем обновление! |
…er-card https://github.com/pkissling/clock-weather-card with ```yaml type: custom:clock-weather-card entity: weather.yandex_weather hourly_forecast: true ``` now will show pretty forecast from the integration. Fix #112
…er-card (#114) * fix[weather::forecasts]: add additional forecast data for clock-weather-card https://github.com/pkissling/clock-weather-card with ```yaml type: custom:clock-weather-card entity: weather.yandex_weather hourly_forecast: true ``` now will show pretty forecast from the integration. Fix #112
Исправлено в v3.2.1 |
The problem
После обновления компонента на v3.2.0 и НА 2024.4.0 не показывает правильно прогноз:
При этом эта же карточка другие источники погоды показывает правильно.
What version of the integration has the issue?
v3.2.0
What version of Home Assistant Core has the issue?
2024.4.0
What type of installation are you running?
Home Assistant Supervised
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: