All I had my alerts working just fine looked at them today and now nothing seems to work. Did some thing change that would cause this not to work now… the binary state in the template reacts as it should, it seems nothing gets passed to the alert. When I manually call the services/notification that works fine, I am lost
HA 2023.5.4
Supervisor 2023.06.1
OS 10.2
FrontEnd 20230503.3
template:
- binary_sensor:
- name: "Garage Temp Low"
state: "{{ states('sensor.garage_temp_sensor') | float(0) <= 10.0 and is_state('input_boolean.pause_alerts', 'off') }}"
- binary_sensor:
- name: "Sump Level High"
state: "{{ states('sensor.sump_level_sensor') | float(0) >= 75.1 }}"
- binary_sensor:
- name: "Hot Tub Temp Low"
state: "{{ states('sensor.hottub_water_temp_sensor') | float(0) <= states('input_number.hot_tub_low_temp_alarm_setpoint') | float(0) }}"
alert:
hottub_water_temp_sensor:
name: Hot Tub Low Temperature
entity_id: binary_sensor.hot_tub_temp_low
state: "on"
repeat: 1
skip_first: False
message: Hot Tub Temperature is Low
done_message: Hot Tub Temperature has Returned to Normal
notifiers:
- mobile_app_RK_12
- gmail
1 Like
So a little more back story, I re-loaded an old backup from yesterday and the alerts work as they should. The only thing that happened was a back-up at 1:00 am. Although I didn’t test the alerts until later on in the day (but nothing changed during that time).
When the alerts work the binary sensor is triggered (on) and that in turn triggers the alert and I get the notification.
More info thanks to @123 for showing me this
When things are not working the binary sensor is (on) but the alert stay’s idle
After letting this run overnight, everything was still working at ~6:30 am and ~8:00 the issue has come back. In the background I set an automation to send me an alert based on the update of a sensor every 10 min and that is working and is still working, however the binary sensor and alert is not. Really need help on this as some stuff is important that I actually get the alerts on. Can I look at any specific logs that can point to where the issues is to any other suggestions?.
Not sure if this relates to my issues or not but I just got my notification…
The one thing I did notice is that my phone was…
mobile_app_RK_12
now in the device, I see this in the device
Should my phone now change to… mobile_app_RK_12_2
Update:
So I gave the above a try and it works again, is it possible that in the alerts it got the the mobile app alert first and because it didn’t work it ignored the gmail alert as well (works sequentially?). I will monitor for a while to see if the change is a permanent fix.