Skip to content

Releases: thefunkygibbon/eafm-enhanced

v2.1.0

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 30 Jan 13:49
78eeea1

First proper release. See readme for details.
Submitting to HACS for approval

v2.0.10

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 29 Jan 20:01
4eb4c5c

Accounting for stations which report multiple heights

v2.0.9

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 29 Jan 18:17
e69d6c8

Adding more features, will edit later

Full Changelog: v2.0.8...v2.0.9

v2.0.8

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 29 Jan 17:33
0868e4a

Change to device

v2.0.7

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 29 Jan 11:14
1d771ad

Refactored some code

v2.0.6

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 29 Jan 10:36
f1ec5eb

Edited how it updates, changed name to ensure consistency with other HA integrations

v2.0.51 HACS release

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 28 Jan 22:08
e0551d2

Same as before

v2.0.5

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 28 Jan 21:21
f6da8d5

🌊 Version 2.0.5 — The "River Status" Update

This release introduces the highly requested River Status sensor, which automatically categorizes river levels into actionable states (Normal, High, Low) based on official Environment Agency typical ranges.

🆕 New Features

  • River Status Sensor: A new entity is automatically created for every station. It compares the current level against the station's typicalRangeHigh and typicalRangeLow to report:

  • 🟢 Normal: Water levels are within the expected seasonal range.

  • 🔴 High: Water levels have exceeded the typical high threshold.

  • 🟡 Low: Water levels are below the typical low threshold.

  • Enhanced Attributes: The Status sensor now includes high-value metadata in its attributes:

  • typical_range_high

  • typical_range_low

  • highest_recent (The highest recorded level in recent history).

🎨 Improvements

  • User-Friendly Station List: Updated the configuration dropdown format to Label, Catchment (ID). This makes it much easier to distinguish between multiple stations on the same river (e.g., "Hexham, Tyne (9006)" vs "Corbridge, Tyne (9007)").

🛠 Technical Fixes & Stability

  • Deep Data Fetching: The get_station logic now automatically resolves secondary API links for "Stage Scale" data. This ensures that threshold values are fetched even if they aren't provided in the primary station summary.
  • Python Scope Fix: Resolved an UnboundLocalError related to the async_get_clientsession helper.
  • Robust Error Handling: Added checks to prevent sensor crashes if a station does not provide typical range data (common for some tidal or coastal stations).

📦 How to Update

  1. Search for EAFM2 in HACS and select "Update".
  2. Restart Home Assistant.
  3. Your new status entities will appear automatically as sensor.[station_name]_river_status.

A Quick Tip for your Dashboard

Since the new sensor outputs text ("Normal", "High", "Low"), you can use a Conditional Card or Entity Filter Card to only show a big warning on your dashboard when the state is High.

V2.0.4

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 28 Jan 21:17
0c9895e

🌊 Version 2.0.4 — The "River Status" Update

This release introduces the highly requested River Status sensor, which automatically categorizes river levels into actionable states (Normal, High, Low) based on official Environment Agency typical ranges.

🆕 New Features

  • River Status Sensor: A new entity is automatically created for every station. It compares the current level against the station's typicalRangeHigh and typicalRangeLow to report:

  • 🟢 Normal: Water levels are within the expected seasonal range.

  • 🔴 High: Water levels have exceeded the typical high threshold.

  • 🟡 Low: Water levels are below the typical low threshold.

  • Enhanced Attributes: The Status sensor now includes high-value metadata in its attributes:

  • typical_range_high

  • typical_range_low

  • highest_recent (The highest recorded level in recent history).

🎨 Improvements

  • User-Friendly Station List: Updated the configuration dropdown format to Label, Catchment (ID). This makes it much easier to distinguish between multiple stations on the same river (e.g., "Hexham, Tyne (9006)" vs "Corbridge, Tyne (9007)").

🛠 Technical Fixes & Stability

  • Deep Data Fetching: The get_station logic now automatically resolves secondary API links for "Stage Scale" data. This ensures that threshold values are fetched even if they aren't provided in the primary station summary.
  • Python Scope Fix: Resolved an UnboundLocalError related to the async_get_clientsession helper.
  • Robust Error Handling: Added checks to prevent sensor crashes if a station does not provide typical range data (common for some tidal or coastal stations).

📦 How to Update

  1. Search for EAFM2 in HACS and select "Update".
  2. Restart Home Assistant.
  3. Your new status entities will appear automatically as sensor.[station_name]_river_status.

A Quick Tip for your Dashboard

Since the new sensor outputs text ("Normal", "High", "Low"), you can use a Conditional Card or Entity Filter Card to only show a big warning on your dashboard when the state is High.

v0.3

v0.3 Pre-release
Pre-release

Choose a tag to compare

@thefunkygibbon thefunkygibbon released this 27 Jan 16:27
d3942dd
fix __init