From 537552e1e89d8c35cd2e91f476fd448b988adb96 Mon Sep 17 00:00:00 2001 From: Valter Ferreira Date: Fri, 28 Jul 2023 10:41:27 +0100 Subject: [PATCH] [upd] --- automations.yaml | 36 ++++++++++++++++++++++++++++++++++++ mqtt_switch.yaml | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/automations.yaml b/automations.yaml index e99c3ee..7e3eda6 100644 --- a/automations.yaml +++ b/automations.yaml @@ -426,3 +426,39 @@ - light.luz_jardim_frente - light.luz_jardim_frente mode: single +- id: '1690326047177' + alias: Quarto Criancas - ligar luz mosquitos + description: '' + trigger: + - platform: time + at: 06:00:00 + - platform: time + at: '18:00:00' + condition: + - condition: state + entity_id: input_boolean.auto_anti_mosquittos_criancas + state: 'on' + action: + - service: switch.toggle + data: {} + target: + entity_id: switch.mosquitoqc + mode: single +- id: '1690533072208' + alias: Quarto Principal - Anti Mosquittos + description: '' + trigger: + - platform: time + at: 06:00:00 + - platform: time + at: '18:00:00' + condition: + - condition: state + entity_id: input_boolean.auto_anti_mosquittos_qprincipal + state: 'on' + action: + - service: switch.toggle + data: {} + target: + entity_id: switch.mosquitoqp + mode: single diff --git a/mqtt_switch.yaml b/mqtt_switch.yaml index c62f957..adaeb6b 100644 --- a/mqtt_switch.yaml +++ b/mqtt_switch.yaml @@ -15,7 +15,7 @@ retain: true - state_topic: "stat/tasmota_A9A998/POWER" - name: "LTVR1" + name: "MosquitoQP" command_topic: "cmnd/tasmota_A9A998/POWER" qos: 1 payload_on: "ON" @@ -25,7 +25,7 @@ retain: true - state_topic: "stat/tasmota_A924F7/POWER" - name: "LTVR2" + name: "MosquitoQC" command_topic: "cmnd/tasmota_A924F7/POWER" qos: 1 payload_on: "ON"