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
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

View File

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

View File

@@ -78,3 +78,8 @@
- light.luz_hall_tras_fora
- light.luz_jardim_frente
- light.Luz_jardim_frente_lado
coverSala:
name: Estores Sala
entities:
- cover.coversaladir
- cover.coversalaesq

View File

@@ -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