Andythigpen has contributed a script component. This 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. A separate page has been added to the frontend to see the status of your scripts.
1234567891011121314151617
# Example configuration.yaml entryscript:# Turns on the bedroom lights and then the living room lights 1 minute laterwakeup:alias:Wake Upsequence:-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