Greetings to all the Home Assistant enthusiasts! I take pride in being the owner of 19 tarantulas and have established a dedicated dashboard to monitor their well-being. One crucial aspect of this setup is to keep a close eye on the temperature and humidity levels, promptly notifying me if they deviate from their baseline values.
To facilitate this, I’ve implemented iOS action notifications. These notifications allow me to choose from options like “Dashboard” (directing me to the corresponding page), “Remind me later” (activating an input sensor with an automation that sends reminders every 3 hours), and “Ignore” (deactivating the input sensor). However, I’ve encountered an issue where the “Remind me later” function doesn’t seem to work as expected, and the automation appears to be non-responsive.
I’d greatly appreciate any insights or suggestions you may have to simplify this setup. In essence, I’m seeking a more streamlined method for receiving alerts when the temperature or humidity exceeds or falls below their baseline values, with the added feature of reminders every 3 hours if the conditions persist. Currently, my automation is triggered by changes in the temperature or humidity state, with a template condition for humidity ({{ trigger.to_state.state | float > 90 }})
, and an action structured as provided below:
service: notify.notify
data:
title: TARANTULAS HIGH HUMIDITY ALERT
message: >-
{% set over_90_sensors = namespace(sensors="") %} {% if
states('sensor.tarantulas_brazilian_giant_blonde_humidity') | float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 1: " ~ states.sensor.tarantulas_brazilian_giant_blonde_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_scarlet_bird_eater_humidity') |
float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 2: " ~ states.sensor.tarantulas_scarlet_bird_eater_humidity.name ~ "\n" %}
{% endif %} {% if
states('sensor.tarantulas_brazilian_red_and_white_humidity') | float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 3: " ~ states.sensor.tarantulas_brazilian_red_and_white_humidity.name ~ "\n" %}
{% endif %} {% if
states('sensor.tarantulas_mexican_golden_red_rump_humidity') | float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 4: " ~ states.sensor.tarantulas_mexican_golden_red_rump_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_curly_humidity') | float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 5: " ~ states.sensor.tarantulas_curly_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_mexican_red_knee_humidity') |
float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 6: " ~ states.sensor.tarantulas_mexican_red_knee_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_pink_zebra_beauty_humidity') |
float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 7: " ~ states.sensor.tarantulas_pink_zebra_beauty_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_brazilian_blue_humidity') |
float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 8: " ~ states.sensor.tarantulas_brazilian_blue_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_scarlet_bird_eater_humidity') |
float > 90 %}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 9: " ~ states.sensor.tarantulas_scarlet_bird_eater_humidity.name ~ "\n" %}
{% endif %} {% if states('sensor.tarantulas_slings_humidity') | float > 90
%}
{% set over_90_sensors.sensors = over_90_sensors.sensors ~ "Sensor 10: " ~ states.sensor.tarantulas_slings_humidity.name ~ "\n" %}
{% endif %} The following sensors have a humidity over 90%:
{{ over_90_sensors.sensors }}
data:
image: /local/images/areas/tarantulas/notification_high_humidity.png
actions:
- action: URI
title: Dashboard
icon: sfsymbols:house
uri: /dwains-dashboard/more_page_tarantula_habitats
- action: LATER_HIGH_HUM
title: Remind me later
icon: sfsymbols:clock
- action: IGNORE_HIGH_HUM
title: Ignore
icon: sfsymbols:xmark
destructive: true