The script component allows users to create a sequence of service calls and delays. Scripts can be
started using the service script/turn_on and interrupted using the service script/turn_off.
123456789101112131415161718192021222324
# Example configuration.yaml entryscript:# Turns on the bedroom lights and then the living room lights 1 minute laterwakeup:alias:Wake Upsequence:-event:logbook_entryevent_data:name:Paulusmessage:is waking up# Optionalentity_id:device_tracker.paulusdomain:light-alias:Bedroom lights onexecute_service:light.turn_onservice_data:entity_id:group.bedroom-delay:# supports seconds, milliseconds, minutes, hours, etc.minutes:1-alias:Living room lights onexecute_service:light.turn_onservice_data:entity_id:group.living_room