Comments (6)
@m-larin, hello.
It is not duplicate.
Yandex is providing forecast data for next two times of day: if you check weather in the morning it will be "day" and "evening".
and the integration translates it to timestamps (with datetime), but UI card is not show full datetime.
So, on the screenshot you may see forecasts for today "day" and "evening" and the integration can not affect to a way that UI show data.
In states (developer tools of Home Assistant) it looks like:
forecast:
- datetime: '2022-12-14T14:56:27.543932'
wind_bearing: 270
condition: snowy
precipitation_probability: 90
temperature: -4
templow: -4
pressure: 739.56
wind_speed: 5.7
precipitation: 0.8
- datetime: '2022-12-14T20:56:27.543932'
wind_bearing: 270
condition: snowy
precipitation_probability: 40
temperature: -4
templow: -5
pressure: 744.81
wind_speed: 4.8
precipitation: 0.4
The only way to have timestamps -- show more forecast data, but Yandex provides just two intervals.
from ha-yandexweather.
Then, as a suggestion, it can output time from forecast data, with the possibility of disabling the output of this information through settings.
from ha-yandexweather.
The integration could not affect to UI.
We have full forecast timestamp in forecast data (datetime
field, see above / dev tools), but UI show only a date.
I may add any field to attributes, but could not affect to data representation.
If you need "disable forecast" option in the integration settings -- I may add it, but I don't think that it will be useful.
from ha-yandexweather.
I see, thank you.
from ha-yandexweather.
I have an idea how to get around this. Replace the date output with text. The text should be as follows: if it is morning, then the nearest forecast is displayed with the inscription "Day", the next one is "Evening". If it's day, then the forecast is "Evening" and "Night". If it's evening, then the forecast is "Night" and "Tomorrow morning". If it's night, then in the forecast "Tomorrow morning" and "Tomorrow afternoon". Take the night period from 0 to 6 hours, morning from 6 to 12, etc.
from ha-yandexweather.
According to the documentation it should be "UTC Date time in RFC 3339 format.", not just string.
Just because UI will parse it.
from ha-yandexweather.
Related Issues (20)
- Не работает обновление данных в v3.1.3 в HA до `2024.2` HOT 4
- У Яндекса больше нет бесплатного тарифа "погода для сайта" HOT 5
- Несовместимость с HA 2024.4 HOT 1
- После обновления на 2024.4.0 не загружается интеграция HOT 5
- Перестала работать после обновления на core_2024.3.3 HOT 3
- Перестала работать после обновления на 2024.4.0 HOT 17
- Странное поведение в кастомной карточке custom:clock-weather-card HOT 15
- После перезагрузки Home Assistant не подтягиваются старые значения прогноза. HOT 2
- Temperatrue вместо temperature HOT 2
- В логах HA выдает ошибку ValueError: is_daytime mandatory attribute for forecast_twice_daily is missing HOT 4
- Вероятность осадков на сегодня HOT 1
- Detected blocking call to open inside the event loop by custom integration 'yandex_weather' at custom_components/yandex_weather/updater.py HOT 3
- Странные и не соответствующие действительности показания датчиков HOT 1
- Интеграция HA-YandexWeather перестала работать в HA 2024.1.0 HOT 21
- Объект weather.* не предоставляется службой после обновления HA 2024.1 HOT 1
- не проходит ключ HOT 4
- Не изменяется обозначение единицы измерения температуры на Цельсии HOT 1
- Не устанавливается расширение YandexWeather HOT 10
- Добавить в `datetime` прогноза time зону HOT 3
- При обновлении НА до 2024.2 перестали обновляться данные HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-yandexweather.