Releases: gieljnssns/buienalarm-sensor-homeassistant
Releases · gieljnssns/buienalarm-sensor-homeassistant
Fix for 2024.1+
Fix for 2024.1+
HA 2021.12+
v1.9
Breaking change:
Your sensors default name will be `sensor.buienalarm_{monitored_condition}`.
The buienalarm_next_rain_forecast
sensor returns a date/time of the next rain forecast. To get the time-in-minutes to the next rain forecast a template sensor can be used. Add this template sensor to your configuration:
template:
- sensor:
- name: "Buienalarm Next rain forecast (min)"
unit_of_measurement: "min"
state: >
{% if as_timestamp(states('sensor.buienalarm_next_rain_forecast')) %}
{{ ( ( as_timestamp(states('sensor.buienalarm_next_rain_forecast')) - as_timestamp(now()) ) / 60 ) | round }}
{% else %}
{{ states('nonexistent') }}
{% endif %}
Rewrite sensor to better suite current home assistant state.
Thanks @StevenLooman for taking the time to rewrite this integration and full API
Rewrite sensor to better suite current home assistant state. This includes use of the DataUpdateCoordinator which coordinates updates for all active sensors, and preventing multiple updates when the Buienalarm API fails/returns a 500 status code.
v1.7
Update manifest.json
Fixes #19
add version number for HA 2021.3.0+
v1.5 Update manifest.json
Release v1.4
Avoid TypeError by dependency update
v1.3 Update version number
Fix next_rain_forecast and use less requests
Merge pull request #5 from gieljnssns/buienalarmdata Buienalarmdata