Files
HomeAssistantConfig/automations.yaml
2021-02-19 17:08:33 +00:00

253 lines
5.8 KiB
YAML
Executable File

- id: '1589065904158'
alias: Aquecimento Agua
description: ''
trigger:
- at: 06:30:00
platform: time
- at: 08:00:00
platform: time
- at: '18:00:00'
platform: time
- at: '19:00:00'
platform: time
action:
- data: {}
entity_id: switch.aquecimento_agua
service: switch.toggle
mode: single
- id: '1589067784246'
alias: Aquario
description: ''
trigger:
- at: '15:00:00'
platform: time
condition: []
action:
- data: {}
entity_id: light.luz_aquario
service: light.turn_on
- delay: 05:00:00
- data: {}
entity_id: light.luz_aquario
service: light.turn_off
mode: single
- id: '1578994958446'
alias: Warn garage gate Open
description: ''
trigger:
- entity_id: cover.portao_garagem
from: closed
platform: state
to: open
condition: []
action:
- data:
message: O portao da garagem foi aberto
title: '*Portao da garagem*'
service: notify.buttler
- id: '1579542436595'
alias: warn portao garagem closed
description: ''
trigger:
- entity_id: cover.portao_garagem
from: open
platform: state
to: closed
condition: []
action:
- data:
message: O portao da garagem foi fechado
title: '*Portao da garagem*'
service: notify.buttler
- id: '1583841493592'
alias: Notify when hacs needs update
description: ''
trigger:
- entity_id: sensor.hacs
from: '0'
platform: state
to: '1'
action:
- data:
message: System HACS needs updating
title: '*HACS*'
service: notify.buttler
- id: '1590057590266'
alias: Sistema Rega Valvula 1 - 22h
description: ''
trigger:
- at: '22:00:00'
platform: time
condition: []
action:
- data: {}
entity_id: switch.valvula_jardim_1
service: switch.turn_on
- delay: 00:10:00
- data: {}
entity_id: switch.valvula_jardim_1
service: switch.turn_off
mode: single
- id: sisRega2
alias: Sistema Rega Valvula 2 - 22h
description: ''
trigger:
- at: '22:10:00'
platform: time
condition: []
action:
- data: {}
entity_id: switch.valvula_jardim_2
service: switch.turn_on
- delay: 00:10:00
- data: {}
entity_id: switch.valvula_jardim_2
service: switch.turn_off
mode: single
- id: sisRega3
alias: Sistema Rega Valvula 3 - 22h
description: ''
trigger:
- at: '22:20:00'
platform: time
condition: []
action:
- data: {}
entity_id: switch.valvula_jardim_3
service: switch.turn_on
- delay: 00:10:00
- data: {}
entity_id: switch.valvula_jardim_3
service: switch.turn_off
mode: single
- id: '1590425966320'
alias: Watering Garden Manual cycle
description: ''
trigger: []
condition: []
action:
- data: {}
entity_id: automation.sistema_rega_valvula_1
service: automation.trigger
- delay: 00:10:00
- data: {}
entity_id: automation.sistema_rega_valvula_2
service: automation.trigger
- delay: 00:10:00
- data: {}
entity_id: automation.sistema_rega_valvula_3
service: automation.trigger
- alias: Smart Irrigation
description: Start Smart Irrigation at 06:00 and run it only if the adjusted_run_time
is >0 and run it for precisely that many seconds
trigger:
- event_data: {}
event_type: smart_irrigation_start
platform: event
condition:
- above: '0'
condition: numeric_state
entity_id: sensor.smart_irrigation_daily_adjusted_run_time
action:
- data: {}
entity_id: switch.valvula_jardim_1
service: switch.turn_on
- delay:
seconds: '{{states("sensor.smart_irrigation_daily_adjusted_run_time")}}'
- data: {}
entity_id: switch.valvula_jardim_1
service: switch.turn_off
- data: {}
service: smart_irrigation.reset_bucket
id: 7b2df872a37148adaa4f33c3dd91905b
- id: '1598985491596'
alias: WC Red luz demasiado tempo ligada +10'
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger:
- entity_id: switch.luz_wc_vermelha
for: 00:10:00
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Wc Vermelha luz acesa
title: '*Luz WC Vermelha*'
service: notify.buttler
- data:
message: Wc Vermelha luz acesa
title: '*Luz WC Vermelha*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1603375184553'
alias: 'Garagem luz 1 demasiado tempo ligada +10'' '
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger:
- entity_id: light.luz_garagem_1
for: 00:10:00
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Luz garagem 1 acesa
title: '*Luz garagem 1*'
service: notify.buttler
- data:
message: Luz garagem 1 acesa
title: '*Luz garagem 1*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1603375213791'
alias: Garagem luz 2 demasiado tempo ligada +10'
description: Avisa se luz Wc Vermelha acesa por mais de 10 minutos
trigger:
- entity_id: light.luz_garagem_2
for: 00:10:00
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Luz garagem 2 acesa
title: '*Luz garagem 2*'
service: notify.buttler
- data:
message: Luz garagem 2 acesa
title: '*Luz garagem 2*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1604863723383'
alias: WC Preto luz demasiado tempo ligada +10'
description: Avisa se luz Wc Preto acesa por mais de 10 minutos
trigger:
- entity_id: light.luz_wc_preto
for: 00:10:00
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Wc Preto luz acesa
title: '*Luz WC Preto *'
service: notify.buttler
mode: single
- id: '1605814123567'
alias: Arvore Natal
description: ''
trigger:
- at: '17:30:00'
platform: time
- at: '23:00:00'
platform: time
condition: []
action:
- data: {}
entity_id: switch.tomada_escritorio
service: switch.toggle
mode: single