mattlward
(Matt Ward)
1
The automation to turn the switch on seems to be working, but the notifier never trips. What is wrong here?
Thanks Matt
- id: "Basement heat on if below 5F"
alias: 'Basement heat on if below 5F'
initial_state: true
trigger:
platform: numeric_state
entity_id: sensor.pws_temp_f
below: 5.0
action:
- service: switch.turn_on
data:
entity_id: switch.basement_heater
- service: notify.sms_matt
data:
title: "Basement heat on"
Have you tried enabling debug for your sms-component? Also, what happens if you use this instead?
- id: "Basement heat on if below 5F"
alias: 'Basement heat on if below 5F'
initial_state: true
trigger:
platform: numeric_state
entity_id: sensor.pws_temp_f
below: 5.0
action:
- service: switch.turn_on
data:
entity_id: switch.basement_heater
- service: notify.sms_matt
data:
message: "Basement heat on"
keithh666
(Keith Hull)
3
Your actions don’t look indented correctly to me…
action:
- service: switch.turn_on
data:
entity_id: switch.basement_heater
- service: notify.sms_matt
data:
title: "Basement heat on"