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)
- sensor.yandex_weather_data_update_time is using state class 'measurement' with device class ('timestamp') HOT 1
- погода для сайта HOT 1
- Показывает погоду не из моих координат HOT 6
- Ошибка работы сервиса при Weather condition images: HomeAssistant HOT 2
- Unexpected error fetching Yandex Weather updater data: 'prec_mm' HOT 9
- Нужно ограничение на количество неудачных запросов. HOT 7
- После 01.04.2023 api ключ стал не валиден. HOT 2
- Ошибка преобразования направления ветра HOT 5
- Перепутаны единицы рассчета атмосферного давления HOT 4
- async_setup_platforms HOT 2
- прокидывать код иконки в прогнозе HOT 4
- forecast HOT 3
- forecast is not available in `2023.8` HOT 6
- Ошибка добавления интеграции: Invalid handler specified HOT 4
- Не запускается HOT 2
- Интеграция на RPi4 запускается более 30сек HOT 3
- Used old service for weather entities. HOT 1
- Установка интеграции HOT 1
- Почасовой прогноз яндекса HOT 3
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.