Compare commits
2 Commits
6900ce0338
...
e178191a11
| Author | SHA1 | Date | |
|---|---|---|---|
| e178191a11 | |||
| 377d023249 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -57,7 +51,7 @@ telegram_bot:
|
||||
api_key: !secret telegram_bot_token
|
||||
allowed_chat_ids:
|
||||
- 564913435
|
||||
|
||||
|
||||
group: !include groups.yaml
|
||||
automation: !include automations.yaml
|
||||
script: !include scripts.yaml
|
||||
@@ -67,7 +61,8 @@ cover: !include cover.yaml
|
||||
light: !include light.yaml
|
||||
switch: !include switch.yaml
|
||||
media_player: !include mediaplayers.yaml
|
||||
|
||||
vacuum:
|
||||
- platform: xiaomi_miio
|
||||
host: !secret aleixoIP
|
||||
token: !secret aleixoToken
|
||||
token: !secret aleixoToken
|
||||
|
||||
@@ -77,4 +77,9 @@
|
||||
- light.luz_varanda_quarto_principal
|
||||
- light.luz_hall_tras_fora
|
||||
- light.luz_jardim_frente
|
||||
- light.Luz_jardim_frente_lado
|
||||
- light.Luz_jardim_frente_lado
|
||||
coverSala:
|
||||
name: Estores Sala
|
||||
entities:
|
||||
- cover.coversaladir
|
||||
- cover.coversalaesq
|
||||
10
scripts.yaml
10
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
|
||||
|
||||
Reference in New Issue
Block a user