Skip to content

Releases: andrejs2/arso_potresi

Release Notes - Version 1.2.2

08 Aug 16:07
43010e8

Choose a tag to compare

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.

Release Notes - Version 1.2.1

07 Aug 13:01
0bcee4f

Choose a tag to compare

Release Notes v1.2.1

Key Fixes:

Improved Stability and Reconfiguration

We have fixed the error that prevented the changing of settings, such as scan_interval and history_days, after the initial installation. The integration is now more stable and allows for seamless reconfiguration through the Home Assistant UI.

Compliance with Home Assistant

The code has been corrected to be fully compliant with the latest Home Assistant development standards. This includes resolving deprecation warnings and fixing errors during the unloading of the integration.

We hope you will now enjoy a more stable and reliable experience with the ARSO Potresi integration!

Release Notes - Version 1.2.0

07 Aug 09:03
9306455

Choose a tag to compare

What's Changed

  • Add reconfigurable options and earthquake history by @andrejs2 in #6

Full Changelog: v1.1.2...v1.2.0

Opombe k izdaji 1.2.0

Z veseljem sporočamo posodobitev integracije ARSO Potresi! Nova različica prinaša pomembne izboljšave, ki vam omogočajo večjo prilagodljivost in boljšo sledljivost zgodovine potresov.

Kaj je novega?

🔄 Možnost rekonfiguracije

Po novem lahko nastavitve integracije spremenite neposredno v Home Assistant uporabniškem vmesniku (UI). Ni vam več treba brisati in ponovno dodajati integracije, če želite spremeniti interval osveževanja ali dolžino zgodovine. Preprosto pojdite na Nastavitve > Naprave in storitve > Integracije, poiščite ARSO Potresi in kliknite na gumb Nastavi.

🗓️ Zgodovina potresov

Dodana je nova konfiguracijska možnost, kjer lahko določite število dni, za katere želite shranjevati zgodovino potresov. Senzor zdaj samodejno filtrira in v atribut Zgodovina potresov shranjuje seznam potresov znotraj izbranega časovnega obdobja, kar je popolno za prikaz v karticah Lovelace.

✅ Izboljšana sledljivost

Koda integracije je posodobljena, da ustvarja bogatejši atribut z zgodovino potresov. To omogoča enostaven prikaz več podrobnosti o preteklih potresih v eni sami kartici Markdown.


Upamo, da vam bodo te izboljšave koristile! Če imate kakršna koli vprašanja, se obrnite na podporo.

Release 1.1.2

09 Jul 08:30
c4c66e9

Choose a tag to compare

New release contaning only 1 change in hacs.json file - add country [SI]

Release Notes - Version 1.1.1

09 May 08:19
c337735

Choose a tag to compare

Update hacs.json to downgrade homeassistant minimum version to 2024.3.0

Release Notes - Version 1.1.0

08 Mar 20:20
0bcf46f

Choose a tag to compare

Release Notes

Version 1.1.0

Changes

  • Deprecated call removal

    • Replaced async_forward_entry_setup(config_entry, "sensor") with the new async_forward_entry_setups(config_entry, ["sensor"]) in __init__.py.
    • Removed any usage of hass.async_create_task() when forwarding the config entry, ensuring we await the calls directly.
  • Imports & Type Hints

    • Added missing imports for HomeAssistant and ConfigEntry from the Home Assistant core modules to avoid NameError exceptions.
    • Updated function signatures with async_add_entities: AddEntitiesCallback where appropriate.
  • Improved Compatibility

    • Adjusted the integration to align with Home Assistant’s current async patterns, avoiding warnings related to event loop usage and ensuring future compatibility (especially ahead of HA 2025.x deprecations).

Notes

  • This release resolves the warning:

    "Detected code that calls async_forward_entry_setup for integration 'arso_potresi' … which is deprecated, await async_forward_entry_setups instead."

  • If you have been seeing NameError: name 'HomeAssistant' is not defined or deprecation logs regarding async setup, these changes should now address them.

Upgrading

  • Simply replace the old arso_potresi custom component folder with the updated version and restart Home Assistant.
  • No breaking configuration changes are introduced in this release.

Thank you for using ARSO Potresi! If you encounter any further issues or have feature requests, feel free to open a new issue on GitHub.