Skip to content

Release Notes - Version 1.1.0

Choose a tag to compare

@andrejs2 andrejs2 released this 24 Jan 12:46
aa183a0

Release Notes v1.1.0

Release Date: 24.01.2025


New Features 🌟

Support for twice_daily Forecasts 🌅🌙

  • Implemented support for twice daily forecasts (morning and evening).
  • Forecasts include weather conditions for:
    • 6:00 (morning)
    • 18:00 (evening)
  • Combines data from:
    • 3-hourly forecasts for near-term predictions.
    • 24-hourly forecasts for longer-term predictions.
  • Example forecast output:
    - datetime: "2025-01-24T06:00:00+00:00"
      temperature: 2
      condition: cloudy
      is_daytime: true
    - datetime: "2025-01-24T18:00:00+00:00"
      temperature: 2
      condition: clear-night
      is_daytime: false

Implements is_daytime Attribute ☀️🌙

  • Added support for the `` attribute in forecasts.
  • Indicates whether a forecast is for:
    • Daytime (true): After sunrise and before sunset.
    • Nighttime (false): After sunset or before sunrise.
  • Automatically calculated based on sunrise and sunset times provided by the ARSO API.

Hourly Forecast Updates ⏰

  • Hourly forecasts now also include the is_daytime attribute for each forecast entry.
  • Example hourly forecast output:
    - datetime: "2025-01-24T12:00:00+00:00"
      temperature: 8
      condition: partlycloudy
      is_daytime: true

24-hour Precipitation (Daily Forecasts) 🌧️

  • Implemented support for 24-hour accumulated precipitation (tp_24h_acc) in daily weather forecasts.
  • Provides better insights into expected rainfall or snowfall over the course of the day.

Improvements 🛠️

Error Handling and Logging 🪵

  • Added extensive debug logging throughout the integration to aid in troubleshooting.
  • Improved error handling for scenarios where forecast data is incomplete or unavailable.

Performance Optimization 🚀

  • Restricted forecasts to a maximum of 5 days into the future to align with ARSO API limitations.
  • Skips unnecessary processing for past or irrelevant forecast entries.

Bug Fixes 🐛

  • Fixed NotImplementedError for async_forecast_twice_daily, which previously caused errors during API calls.
  • Resolved issues where forecasts were missing for specific timeframes (e.g., morning or evening) due to incomplete data.
  • Improved handling of sunrise and sunset data when calculating is_daytime for both twice daily and hourly forecasts.

How to Update 📥

Option 1: HACS

  1. Open Home Assistant and navigate to HACS.
  2. Search for ARSO Slovenian Weather Integration.
  3. Update to the latest version.
  4. Restart Home Assistant.

Option 2: Manual

  1. Download and replace the updated integration files in your Home Assistant custom_components/slovenian_weather_integration folder.
  2. Restart Home Assistant.
  3. Restart Home Assistant.
  4. Check the logs for any warnings or errors and ensure proper functionality of the integration.

Future Plans 🔮

  • Add support for additional weather attributes (e.g., humidity, UV index).
  • Enhanced visualization for twice daily forecasts in the Home Assistant dashboard.
  • Consider adding Service (actions) for forecast for announce (or Broadcast) for Voice Assistant.

For any issues or feedback, feel free to reach out or open an issue in the project repository.