Fix presence simulation activation flow

This commit is contained in:
2026-04-05 19:23:09 +02:00
parent bc706543b3
commit b68c4a3382
3 changed files with 190 additions and 198 deletions
+11 -15
View File
@@ -1,15 +1,11 @@
alias: Start Vacation Mode
description: Aktiverer presence simulation ved feriestart og planlægger slutdato
trigger:
- platform: time
at: "2026-03-28 14:00:00" # Ferie start
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.presence_simulation
# Planlæg slutdato automatisk
- delay:
days: 7
- service: input_boolean.turn_off
target:
entity_id: input_boolean.presence_simulation
- alias: Vacation Mode - Start via dashboard
description: Aktiverer presence simulation, når Vacation Mode tændes fra dashboardet
trigger:
- platform: state
entity_id: input_boolean.vacation_mode
to: "on"
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.presence_simulation