diff --git a/include/automations/vacation_start.yaml b/include/automations/vacation_start.yaml deleted file mode 100644 index 2ec2a47..0000000 --- a/include/automations/vacation_start.yaml +++ /dev/null @@ -1,19 +0,0 @@ -alias: Vacation Mode - Start -trigger: - - platform: state - entity_id: input_boolean.vacation_mode - to: "on" - -action: - # Sæt slutdato = nu + 7 dage - - service: input_datetime.set_datetime - target: - entity_id: input_datetime.vacation_end - data: - datetime: > - {{ (now() + timedelta(days=7)).strftime('%Y-%m-%d %H:%M:%S') }} - - # Start presence simulation - - service: input_boolean.turn_on - target: - entity_id: input_boolean.presence_simulation