Compare commits

...

2 Commits

Author SHA1 Message Date
e178191a11 updates 20210608 2021-06-08 15:50:33 +01:00
377d023249 clean configuration yaml 2021-05-09 21:53:41 +01:00
4 changed files with 51 additions and 15 deletions

View File

@@ -84,6 +84,10 @@
platform: time platform: time
condition: [] condition: []
action: action:
- service: notify.whatsapp
data:
message: Sistema de rega a iniciar
title: inicio rega
- data: {} - data: {}
entity_id: switch.valvula_jardim_1 entity_id: switch.valvula_jardim_1
service: switch.turn_on service: switch.turn_on
@@ -340,12 +344,12 @@
action: action:
- service: cover.set_cover_position - service: cover.set_cover_position
data: data:
position: 60 position: 90
target: target:
entity_id: cover.coverescritorio entity_id: cover.coverescritorio
- service: cover.set_cover_position - service: cover.set_cover_position
data: data:
position: 70 position: 95
target: target:
entity_id: cover.coverqprincipal entity_id: cover.coverqprincipal
- service: cover.set_cover_position - service: cover.set_cover_position
@@ -377,3 +381,25 @@
target: target:
entity_id: vacuum.xiaomi_vacuum_cleaner entity_id: vacuum.xiaomi_vacuum_cleaner
mode: single 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

View File

@@ -1,4 +1,3 @@
# Configure a default setup of Home Assistant (frontend, api, etc) # Configure a default setup of Home Assistant (frontend, api, etc)
default_config: default_config:
@@ -33,20 +32,15 @@ notify:
resource: https://api.callmebot.com/whatsapp.php resource: https://api.callmebot.com/whatsapp.php
data: data:
source: HA source: HA
phone: !secret phoneNumber #enter your phone number here phone: !secret phoneNumber #enter your phone number here
apikey: !secret callMeBotAPIKey #enter your apikey here (see Setup above) apikey: !secret callMeBotAPIKey #enter your apikey here (see Setup above)
- name: WhatsAppRita - name: WhatsAppRita
platform: rest platform: rest
resource: https://api.callmebot.com/whatsapp.php resource: https://api.callmebot.com/whatsapp.php
data: data:
source: HA source: HA
phone: !secret phoneNumberRita #enter your phone number here phone: !secret phoneNumberRita
apikey: !secret callMeBotAPIKeyRita #enter your apikey here (see Setup above) apikey: !secret callMeBotAPIKeyRita
camera:
- platform: ffmpeg
name: Camera Garagem
input: rtsp://valadimnfer:ditesM6rvMQmw8@192.168.1.70:554/stream2
spotify: spotify:
client_id: !secret spotifyClientID client_id: !secret spotifyClientID
@@ -57,7 +51,7 @@ telegram_bot:
api_key: !secret telegram_bot_token api_key: !secret telegram_bot_token
allowed_chat_ids: allowed_chat_ids:
- 564913435 - 564913435
group: !include groups.yaml group: !include groups.yaml
automation: !include automations.yaml automation: !include automations.yaml
script: !include scripts.yaml script: !include scripts.yaml
@@ -67,7 +61,8 @@ cover: !include cover.yaml
light: !include light.yaml light: !include light.yaml
switch: !include switch.yaml switch: !include switch.yaml
media_player: !include mediaplayers.yaml media_player: !include mediaplayers.yaml
vacuum: vacuum:
- platform: xiaomi_miio - platform: xiaomi_miio
host: !secret aleixoIP host: !secret aleixoIP
token: !secret aleixoToken token: !secret aleixoToken

View File

@@ -77,4 +77,9 @@
- light.luz_varanda_quarto_principal - light.luz_varanda_quarto_principal
- light.luz_hall_tras_fora - light.luz_hall_tras_fora
- light.luz_jardim_frente - light.luz_jardim_frente
- light.Luz_jardim_frente_lado - light.Luz_jardim_frente_lado
coverSala:
name: Estores Sala
entities:
- cover.coversaladir
- cover.coversalaesq

View File

@@ -4,4 +4,14 @@
- service: automation.trigger - service: automation.trigger
target: target:
entity_id: automation.sistema_rega_valvula_1_22h 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 mode: single