diff --git a/automations.yaml b/automations.yaml index 558e882..47eac6e 100755 --- a/automations.yaml +++ b/automations.yaml @@ -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 diff --git a/configuration.yaml b/configuration.yaml index 8886088..5854b34 100755 --- a/configuration.yaml +++ b/configuration.yaml @@ -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