Skip to content

Instantly share code, notes, and snippets.

@Didgeridrew
Created January 1, 2021 19:10
Show Gist options
  • Save Didgeridrew/120afd67b29a335f6ade1e63d5f455d0 to your computer and use it in GitHub Desktop.
Save Didgeridrew/120afd67b29a335f6ade1e63d5f455d0 to your computer and use it in GitHub Desktop.
HA heat automation help for Tasos
alias: Tasos Heat On 101
trigger:
- platform: time
at: '05:00:00'
- platform: time
at: '16:00:00'
condition:
- condition: or
conditions:
- condition: numeric_state
entity_id: sensor.wupws_temp
below: '8'
- condition: numeric_state
entity_id: binary_sensor.wupws_precip_above_4
state: 'on'
for: '00:05:00'
action:
- service: switch.turn_on
entity_id: switch.sonoff_XXXX
- service: notify.gmail_XXXX
data:
title: Heat Turned On
message: "Heat turned On from Heat: On 101"
- delay: '01:00:00'
- service: switch.turn_off
entity_id: switch.sonoff_XXXX
- service: notify.gmail_XXXX
data:
title: Heat Turned On
message: "Heat turned Off from Heat: On 101"
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment