From 87d29d1c8d074718f4ad3e2d9bb2bd0bf821743f Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 6 Mar 2025 16:36:20 +0100 Subject: [PATCH] Created a mail group for notifications --- .secrets_dummy.yaml | 3 --- notify/mail.yaml | 11 ++++------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.secrets_dummy.yaml b/.secrets_dummy.yaml index a5b55e5d..a874c086 100644 --- a/.secrets_dummy.yaml +++ b/.secrets_dummy.yaml @@ -27,9 +27,6 @@ mail_server: localhost mail_sender: email@domain.com mail_giorgio: email@domain.com mail_laura: email@domain.com -mail_all: - - email@domain.com - - email@domain.com shelly_user: user shelly_password: password diff --git a/notify/mail.yaml b/notify/mail.yaml index e6c5283d..eb282f23 100644 --- a/notify/mail.yaml +++ b/notify/mail.yaml @@ -24,10 +24,7 @@ # Mail to All - name: mail_all - platform: smtp - server: !secret mail_server - port: 25 - encryption: none - sender: !secret mail_sender - recipient: !secret mail_all - sender_name: Casa Ravera-Testa + platform: group + services: + - service: mail_giorgio + - service: mail_laura -- 2.47.3