Skip to content

Releases: AndreiOprisan123/dynamic-weather-ha

v1.2.5: HA Standards Compliance, UI Sync Fixes

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 24 Mar 21:53

Improvements & Bug Fixes

  • Strict HA Compliance: Standardized device_class and unit_of_measurement for numeric sensors to eliminate log warnings and fully integrate with HA dashboards. (e.g., Daily Precipitation now uses mm instead of L/m², and AQI is officially unitless).
  • Perfect UI Synchronization: Fixed a major bug where checking/unchecking sensors in the Configure menu (especially the Beta 15-Min Radar) would leave "Unavailable" ghost entities or fail to create new ones. The integration now flawlessly syncs with the HA Entity Registry.
  • Smart Validation: The initial setup flow now strictly validates if the tracked entity has valid GPS coordinates before allowing the installation to proceed.

⚠️ Note for Existing Users (Safe Update)
Because the Daily Precipitation and AQI sensors have updated measurement units to strictly comply with Home Assistant architecture, you might see a minor warning in your logs, and the historical graph lines for these specific sensors will reset for today.

Release v1.2.4: Daily Precipitation & 15-Min Radar (Beta)

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 23 Mar 20:44

New Features:
Daily Precipitation Sensor: Added a numeric sensor that displays the total accumulated and forecasted precipitation for the current day (L/m²).
"Is Raining" Beta Sensor: Added an experimental sensor based on minutely_15 radar data. It provides the current rain status along with predictive attributes for the next 15 minutes (next_15_min_status). Note: This sensor is disabled by default.

Improvements & Fixes:
Smarter Rain Detection: The main "Is Raining" sensor now reacts instantly. It directly evaluates WMO weather codes (e.g., it recognizes drizzle Code 51), eliminating the lag caused by waiting for a measurable volume of water.
Code Optimization: The sensor architecture in sensor.py has been modularized. API calls were unified to extract current, daily, and minutely_15 data simultaneously, without generating additional requests to Open-Meteo.

V1.2.3 - Enhance rain detection logic in DynamicWeatherRainingSensor

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 22 Mar 18:34
v1.2.3

feat: Enhance rain detection logic in DynamicWeatherRainingSensor

v1.2.2 - Documentation Fix

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 19 Mar 07:12

📝 What's Changed

  • Docs: Fixed a Markdown formatting issue in the README.md where the YAML dashboard example was not properly closed, causing the rest of the document to render incorrectly.

(Note: This release only contains documentation fixes. There are no functional changes to the integration's code. Safe to update!)

feat: Enhance Dynamic Weather Integration with Smart Caching and Sensor Options

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 18 Mar 15:04
  • Added a comprehensive dashboard example in README.md for easier user setup.
  • Implemented advanced configuration options in config_flow.py, allowing users to select multiple weather and air quality sensors via dropdowns.
  • Introduced smart caching functionality to reduce API calls based on location stability in coordinator.py.
  • Updated constants in const.py to include smart cache settings.
  • Enhanced sensor.py to provide additional health risk options based on sensor readings.
  • Updated translations in strings.json and en.json to reflect new features and improve user guidance.
  • Bumped version to 1.2.1 in manifest.json to signify new features and improvements.

v1.2.0 - Major Architecture Upgrade & UI Improvements

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 17 Mar 20:48

🚀 What's New in v1.2.0

This is a massive update that completely rewrites the core architecture of the integration to make it safer, faster, and much more user-friendly!

🏗️ Major Changes

  • Dual-Engine Architecture: Weather data and Air Quality data are now handled by completely independent coordinators. This prevents one API failure from affecting the other.
  • Dynamic Options Flow (UI): You can now change your update intervals (minutes) and add/remove sensors directly from the Home Assistant UI by clicking "Configure" on your integration. No more deleting and reinstalling!
  • Smart Entity Cleanup: Unchecking a sensor in the Options menu will now instantly and cleanly delete the entity from your system, preventing "Unavailable" ghosts.
  • Device Grouping: Sensors are now elegantly grouped into Devices (e.g., your Car or Person) in the Home Assistant UI, exactly like official integrations.

🛡️ API Protection & Anti-Ban

  • Global Request Monitor: Added a background calculator that prevents you from accidentally exceeding the Open-Meteo 10,000 requests/day global limit.
  • Nominatim Cache: Added an intelligent caching system for reverse geocoding. If your tracked entity hasn't moved, the integration will use the cached address instead of spamming OpenStreetMap, keeping your IP safe from bans.
  • Diagnostic Sensor: Added a new global sensor.global_api_usage to help you track your total API requests across all instances in real-time.

v1.1.5

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 16 Mar 19:34
09b95d5

New release of the repository after the validation actions were run successfully.

v1.1.4- The Global Health & UX Update

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 16 Mar 19:03

Refactoring for clarity and adding details to the sensor names and logs. I also added the country to the location name, if available. Additionally, I improved the error messages to be more informative.

Small fixes and QA updates

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 16 Mar 18:54

Small fixes and QA updates

Small fixes and QA updates

Choose a tag to compare

@AndreiOprisan123 AndreiOprisan123 released this 16 Mar 17:14

Small fixes and quality of life updates