Skip to content

Release Notes - Version 1.2.2

Choose a tag to compare

@andrejs2 andrejs2 released this 08 Aug 16:07
43010e8

Release Notes - v1.2.2

This is a significant feature and stability release that completely overhauls how earthquake data is presented and adds a much-requested map visualization feature.

Highlights

  • Earthquake on the Map! 🗺️ A new, dedicated map sensor (sensor.zadnji_potres_magnituda) is now available. When used with the standard Home Assistant map card, it will display the location of the latest earthquake with its magnitude directly inside the map marker.
  • Rich, Structured Attributes: The main sensor (sensor.arso_potresi) now provides a wealth of information. The attributes have been redesigned to show a full, detailed list for both the most recent and all historical earthquakes within your selected time frame.
  • Improved Performance: The integration has been refactored to use a DataUpdateCoordinator. This means it now makes only a single API call to ARSO per update cycle, reducing redundant requests and improving the efficiency of your Home Assistant instance.

🗺️ Displaying the Earthquake on a Map

To get the new map visualization, add a standard map card to your Lovelace dashboard with the following configuration:

type: map
entities:
  - entity: sensor.zadnji_potres_magnituda
    label_mode: state

Detailed Changelog

  • Added:
    • New sensor sensor.zadnji_potres_magnituda dedicated to map visualization. Its state is the magnitude, and it includes latitude and longitude as attributes.
  • Changed:
    • Main Sensor Overhaul: The attributes for sensor.arso_potresi have been greatly enhanced to provide a full, structured list of details (time, location, depth, intensity, etc.) for both the latest and historical earthquakes.
    • Code Refactoring: The integration now uses a central DataUpdateCoordinator for more efficient API data fetching.
  • Removed:
    • The non-functional and deprecated geolocation platform approach has been removed in favor of the more robust and standard sensor-with-location-attributes solution.