Files
HomeAssistantConfig/automations.yaml
2021-06-08 15:50:33 +01:00

406 lines
8.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:
hours: 4
minutes: 0
seconds: 0
milliseconds: 0
- 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:
- service: notify.whatsapp
data:
message: Sistema de rega a iniciar
title: inicio rega
- 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
- 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: light.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
- service: notify.whatsapp
data:
message: Wc Vermelha luz acesa
- service: notify.whatsapprita
data:
message: Wc Vermelha luz acesa
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
- service: notify.whatsapp
data:
message: Luz garagem 1 acesa
- service: notify.whatsapprita
data:
message: Luz garagem 1 acesa
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
- service: notify.whatsapp
data:
message: Luz garagem 2 acesa
- service: notify.whatsapprita
data:
message: Luz garagem 2 acesa
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
- service: notify.whatsapp
data:
message: Luz WC Preto acesa
- service: notify.whatsapprita
data:
message: Luz WC Preto acesa
mode: single
- id: '1613783833916'
alias: BomDiaEstores
description: ''
trigger:
- platform: time
at: 07:30:00
condition: []
action:
- service: cover.set_cover_position
data:
position: 30
target:
entity_id: cover.coverescritorio
- service: cover.set_cover_position
data:
position: 20
target:
entity_id: cover.coverqprincipal
- service: cover.set_cover_position
data:
position: 0
target:
entity_id: cover.coverqclara
- service: cover.set_cover_position
data:
position: 90
target:
entity_id: cover.covercozinha
- service: cover.set_cover_position
data:
position: 50
target:
entity_id:
- cover.coversaladir
- cover.coversalaesq
mode: single
- id: '1614212887668'
alias: Curious George
description: ''
trigger:
- platform: time
at: '20:30:00'
condition: []
action:
- service: cover.set_cover_position
data:
position: 15
target:
entity_id: cover.coverescritorio
- service: cover.close_cover
data: {}
target:
entity_id: cover.coverqclara
- service: cover.set_cover_position
data:
position: 15
target:
entity_id: cover.coverqprincipal
- service: cover.set_cover_position
data:
position: 15
target:
entity_id: cover.covercozinha
- service: cover.set_cover_position
target:
entity_id:
- cover.coversaladir
- cover.coversalaesq
data:
position: 25
mode: single
- id: '1614212907624'
alias: Close Covers
description: ''
trigger:
- platform: time
at: '21:30:00'
condition: []
action:
- service: cover.close_cover
data: {}
target:
entity_id: cover.coverescritorio
- service: cover.close_cover
data: {}
target:
entity_id: cover.coverqclara
- service: cover.close_cover
data: {}
target:
entity_id: cover.coverqprincipal
- service: cover.close_cover
data: {}
target:
entity_id:
- cover.coversaladir
- cover.coversalaesq
- service: cover.close_cover
target:
entity_id: cover.covercozinha
mode: single
- id: '1614588424982'
alias: Let There be Light
description: ''
trigger:
- platform: time
at: 08:30:00
condition: []
action:
- service: cover.set_cover_position
data:
position: 90
target:
entity_id: cover.coverescritorio
- service: cover.set_cover_position
data:
position: 95
target:
entity_id: cover.coverqprincipal
- service: cover.set_cover_position
data:
position: 90
target:
entity_id:
- cover.coversaladir
- cover.coversalaesq
mode: single
- id: '1615401312170'
alias: Start Aleixo
description: ''
trigger:
- platform: time
at: '10:00:00'
condition:
- condition: and
conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: vacuum.start
target:
entity_id: vacuum.xiaomi_vacuum_cleaner
mode: single
- id: '1621620922521'
alias: WC castanho luz demasiado tempo ligada +10'
description: Avisa se luz Wc Castanho acesa por mais de 10 minutos
trigger:
- entity_id: switch.luzwccast
for: 00:10:00
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
message: Wc Castanho luz acesa
title: '*Luz WC Castanho *'
service: notify.buttler
- service: notify.whatsapp
data:
message: Luz WC Castanho acesa
- service: notify.whatsapprita
data:
message: Luz WC Castanho acesa
mode: single