From e178191a1138acb39b0f2f2972b07d6bcb4cafd0 Mon Sep 17 00:00:00 2001 From: Valter Ferreira Date: Tue, 8 Jun 2021 15:50:33 +0100 Subject: [PATCH] updates 20210608 --- automations.yaml | 30 ++++++++++++++++++++++++++++-- groups.yaml | 7 ++++++- scripts.yaml | 10 ++++++++++ 3 files changed, 44 insertions(+), 3 deletions(-) diff --git a/automations.yaml b/automations.yaml index d040401..be4f81a 100755 --- a/automations.yaml +++ b/automations.yaml @@ -84,6 +84,10 @@ 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 @@ -340,12 +344,12 @@ action: - service: cover.set_cover_position data: - position: 60 + position: 90 target: entity_id: cover.coverescritorio - service: cover.set_cover_position data: - position: 70 + position: 95 target: entity_id: cover.coverqprincipal - service: cover.set_cover_position @@ -377,3 +381,25 @@ 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 diff --git a/groups.yaml b/groups.yaml index 351dd8e..7a2d15e 100755 --- a/groups.yaml +++ b/groups.yaml @@ -77,4 +77,9 @@ - light.luz_varanda_quarto_principal - light.luz_hall_tras_fora - light.luz_jardim_frente - - light.Luz_jardim_frente_lado \ No newline at end of file + - light.Luz_jardim_frente_lado + coverSala: + name: Estores Sala + entities: + - cover.coversaladir + - cover.coversalaesq \ No newline at end of file diff --git a/scripts.yaml b/scripts.yaml index 91aabd7..7ffb2a4 100755 --- a/scripts.yaml +++ b/scripts.yaml @@ -4,4 +4,14 @@ - service: automation.trigger target: entity_id: automation.sistema_rega_valvula_1_22h + - wait_template: '' + timeout: 00:10:00 + - service: automation.trigger + target: + entity_id: automation.sistema_rega_valvula_2_22h + - wait_template: '' + timeout: 00:10:00 + - service: automation.trigger + target: + entity_id: automation.sistema_rega_valvula_3_22h mode: single