diff --git a/automations.yaml b/automations.yaml index 55a63ad..bd8d094 100644 --- a/automations.yaml +++ b/automations.yaml @@ -60,34 +60,6 @@ use_sun: false dont_disturb: false no_motion_wait: 40 -- id: '1733907515800' - alias: EVcharge-front-temp-automation - description: Temporary Automation of EVcharge front from 23:01 to 9:00 all days - the same - triggers: - - trigger: time - at: '23:04:00' - id: EVcharge-front-on - - trigger: time - at: 09:00:00 - id: EVcharge-front-off - conditions: [] - actions: - - if: - - condition: trigger - id: - - EVcharge-front-on - then: - - type: turn_on - device_id: b69c1ca977ec6590e58689a8ab48cf3c - entity_id: 62f4895f11ca37d023aad1fddee7c0a0 - domain: switch - else: - - type: turn_off - device_id: b69c1ca977ec6590e58689a8ab48cf3c - entity_id: 62f4895f11ca37d023aad1fddee7c0a0 - domain: switch - mode: single - id: '1736805701473' alias: P1confort-light description: '' diff --git a/blueprints/automation/homeassistant/evcharge-process.yaml b/blueprints/automation/homeassistant/evcharge-process.yaml index 5ee5a14..94b79d5 100644 --- a/blueprints/automation/homeassistant/evcharge-process.yaml +++ b/blueprints/automation/homeassistant/evcharge-process.yaml @@ -75,7 +75,7 @@ variables: evcharge_entity1_var: !input evcharge_entity1 evcharge_entity2_var: !input evcharge_entity2 evcharge_entity1_power_var: !input evcharge_entity1_power - evcharge_entity2_power_var: !input evcharge_entity2 + evcharge_entity2_power_var: !input evcharge_entity2_power use_entity1_var: !input use_entity1 use_entity2_var: !input use_entity2 @@ -155,17 +155,15 @@ actions: entity_id: !input evcharge_entity1 # TEST ONLY: entity_id: switch.presa_smart_1 - # need to wait car to start charging - delay: 120 # TEST ONLY: - delay: 10 - - repeat: until: "{{ ( states(evcharge_entity1_power_var) | int ) < ( states('input_number.evcharge_no_charge_threshold') | int ) }}" # TEST ONLY: until: "{{ ( states('input_number.test_evcharge_front') | int) < (states('input_number.evcharge_no_charge_threshold') | int) }}" sequence: - - delay: 60 + - delay: 120 - action: switch.turn_off entity_id: !input evcharge_entity1 @@ -208,23 +206,20 @@ actions: entity_id: !input evcharge_entity2 # TEST ONLY: entity_id: switch.presa_smart_2 - # need to wait car to start charging - delay: 120 # TEST ONLY: - delay: 10 - - repeat: until: "{{ ( states(evcharge_entity2_power_var) | int ) < ( states('input_number.evcharge_no_charge_threshold') | int) }}" # until: "{{ ( states('input_number.test_evcharge_back') | int) < ( states('input_number.evcharge_no_charge_threshold') | int) }}" sequence: - - delay: 60 + - delay: 120 - 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 for_each: "{{ recipient_list }}"