From b79a7abfcdebd5a1196693cf4e3f36d53d353b34 Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Tue, 18 Feb 2025 09:19:21 +0100 Subject: [PATCH] EVcharge Process final automation - corrected message send of no option selected --- .../homeassistant/evcharge-process.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/blueprints/automation/homeassistant/evcharge-process.yaml b/blueprints/automation/homeassistant/evcharge-process.yaml index 508a095..70378c7 100644 --- a/blueprints/automation/homeassistant/evcharge-process.yaml +++ b/blueprints/automation/homeassistant/evcharge-process.yaml @@ -240,10 +240,13 @@ actions: - condition: template value_template: "{{ is_state(use_entity2_var, 'off') }}" then: - sequence: - - action: notify.mobile_app_ttrabatt_iphone15 - metadata: {} - data: - message: >- - "EVcharge process activation ERROR, select what to charge" - title: EV Charge process ERROR + - repeat: # send message to all recipient-list members + for_each: "{{ recipient_list }}" + + sequence: + - action: "{{ repeat.item }}" + metadata: {} + data: + message: >- + "EVcharge process activation ERROR, select what to charge" + title: EV Charge process ERROR