Skip to content

v1.9

Compare
Choose a tag to compare
@gieljnssns gieljnssns released this 10 Aug 09:47
· 3 commits to master since this release
42dcb0b

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 %}