From 066830aca2fd7e3ad6d017f5cca5831d0bcf0dcb Mon Sep 17 00:00:00 2001 From: ttrabatt Date: Mon, 10 Feb 2025 12:22:08 +0100 Subject: [PATCH] EVcharge Process final automation --- automations.yaml | 14 ++++++++++++++ .../automation/homeassistant/evcharge-process.yaml | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/automations.yaml b/automations.yaml index bd8d094..7367305 100644 --- a/automations.yaml +++ b/automations.yaml @@ -101,3 +101,17 @@ use_entity1: input_boolean.evcharge_front_request use_entity2: input_boolean.evcharge_back_request start_button: input_button.evcharge_start +- id: '1739185900251' + alias: EVcharge-process + description: 'Charge sequentially via both front and back plugs depending on EVcharge + request flags ' + use_blueprint: + path: homeassistant/evcharge-process.yaml + input: + evcharge_entity1: switch.evcharge_front + evcharge_entity1_power: sensor.evcharge_front_power + evcharge_entity2: switch.evcharge_back + evcharge_entity2_power: sensor.evcharge_back_power + use_entity1: input_boolean.evcharge_front_request + use_entity2: input_boolean.evcharge_back_request + start_button: input_button.evcharge_start diff --git a/blueprints/automation/homeassistant/evcharge-process.yaml b/blueprints/automation/homeassistant/evcharge-process.yaml index 94b79d5..f12c9cb 100644 --- a/blueprints/automation/homeassistant/evcharge-process.yaml +++ b/blueprints/automation/homeassistant/evcharge-process.yaml @@ -165,11 +165,12 @@ actions: sequence: - delay: 120 + # turn off evcharge_entity1 - action: switch.turn_off entity_id: !input evcharge_entity1 # TEST ONLY: entity_id: switch.presa_smart_1 - - repeat: + - repeat: # send message to all recipient-list members for_each: "{{ recipient_list }}" sequence: @@ -216,11 +217,12 @@ actions: sequence: - delay: 120 + # turn off evcharge_entity2 - action: switch.turn_off entity_id: !input evcharge_entity2 # TEST ONLY: entity_id: switch.presa_smart_2 - - repeat: # send message to all recipient-list member + - repeat: # send message to all recipient-list members for_each: "{{ recipient_list }}" sequence: