added WhatsApp configuration

This commit is contained in:
Valter Ferreira
2021-02-25 00:02:45 +00:00
parent 664ace0e69
commit f37d2471d3
2 changed files with 35 additions and 9 deletions

View File

@@ -152,10 +152,12 @@
message: Wc Vermelha luz acesa
title: '*Luz WC Vermelha*'
service: notify.buttler
- data:
- service: notify.whatsapp
data:
message: Wc Vermelha luz acesa
- service: notify.whatsapprita
data:
message: Wc Vermelha luz acesa
title: '*Luz WC Vermelha*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1603375184553'
alias: 'Garagem luz 1 demasiado tempo ligada +10'' '
@@ -172,10 +174,12 @@
message: Luz garagem 1 acesa
title: '*Luz garagem 1*'
service: notify.buttler
- data:
- service: notify.whatsapp
data:
message: Luz garagem 1 acesa
- service: notify.whatsapprita
data:
message: Luz garagem 1 acesa
title: '*Luz garagem 1*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1603375213791'
alias: Garagem luz 2 demasiado tempo ligada +10'
@@ -192,10 +196,12 @@
message: Luz garagem 2 acesa
title: '*Luz garagem 2*'
service: notify.buttler
- data:
- service: notify.whatsapp
data:
message: Luz garagem 2 acesa
- service: notify.whatsapprita
data:
message: Luz garagem 2 acesa
title: '*Luz garagem 2*'
service: notify.mobile_app_redmi_k20
mode: single
- id: '1604863723383'
alias: WC Preto luz demasiado tempo ligada +10'
@@ -212,6 +218,12 @@
message: Wc Preto luz acesa
title: '*Luz WC Preto *'
service: notify.buttler
- service: notify.whatsapp
data:
message: Luz WC Preto acesa
- service: notify.whatsapprita
data:
message: Luz WC Preto acesa
mode: single
- id: '1613783833916'
alias: BomDiaEstores

View File

@@ -28,6 +28,20 @@ notify:
- name: Buttler
platform: telegram
chat_id: 564913435
- name: WhatsApp
platform: rest
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)
- 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)
telegram_bot:
- platform: polling