Release Notes - Version 1.2.2
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 Assistantmapcard, 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: stateDetailed Changelog
- Added:
- New sensor
sensor.zadnji_potres_magnitudadedicated to map visualization. Its state is the magnitude, and it includeslatitudeandlongitudeas attributes.
- New sensor
- Changed:
- Main Sensor Overhaul: The attributes for
sensor.arso_potresihave 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
DataUpdateCoordinatorfor more efficient API data fetching.
- Main Sensor Overhaul: The attributes for
- Removed:
- The non-functional and deprecated
geolocationplatform approach has been removed in favor of the more robust and standard sensor-with-location-attributes solution.
- The non-functional and deprecated