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

Просьба вынести прогноз («два раза в день» и «ежечасный») в атрибуты. #29

Closed
dmitkam opened this issue Oct 7, 2024 · 5 comments · Fixed by #30

Comments

@dmitkam
Copy link

dmitkam commented Oct 7, 2024

Просьба вынести прогноз («два раза в день» и «ежечасный») в атрибуты, по типу как было раньше:
...
forecast:

  • datetime: '2024-10-07T20:00:00+03:00'
    wind_bearing: 0
    native_wind_speed: 2.7
    native_apparent_temperature: 4
    native_temperature: 7
    condition: cloudy
    native_wind_gust_speed: 7
    ...

Было удобно для выборочной отправки в Телеграм и для информеров (esp+экран).

@il77781
Copy link

il77781 commented Oct 8, 2024

@dmitkam, так прогноз, по всей видимости, есть в атрибутах и сейчас, просто хранится в сжатом виде (атрибут forecast_compressed)...
Спросил об этом разработчика...

@dmitkam
Copy link
Author

dmitkam commented Oct 8, 2024

Это я понял. А как перевести в удобоваримый, пока нет... ))

@il77781
Copy link

il77781 commented Oct 8, 2024

@dmitkam, вот, надеюсь, @PavelChertkov нам подскажет, что с этим можно сделать...

@PavelChertkov
Copy link
Contributor

не знал, что эта фича так востребована
сейчас что-нибудь придумаю

@PavelChertkov
Copy link
Contributor

добавлено в предрелизе v0.0.4: https://github.com/yandex/pogoda-home-assistant/releases/tag/v0.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants