I have this configuration:
alert:
switch_on:
name: TH 1 switch is on
done_message: Switch is off
entity_id: switch.th10_1_switch
state: 'on'
repeat: 30
can_acknowledge: True
skip_first: False
notifiers:
- mike
low_temp_th1:
name: TH 1 is cold
done_message: TH1 is warm
entity_id: binary_sensor.th10_1_cold
state: on
repeat: 30
can_acknowledge: True
skip_first: False
notifiers:
- mike
binary_sensor:
- platform: template
sensors:
th10_1_cold:
value_template: '{{ (states.sensor.th10_1_temperature | float) < 75.0 }}'
Currently the temperature is 76.1 degrees F but th10_1_cold is still on.
Also, yesterday, I got it to toggle state but the (SMTP) notification did not complete. Notifications work fine if I toggle the switch but not on temp (hass.io connects to the smtp server but never completes the email).
Would love to know what I am missing.