Movie night, one dashboard
View sourceThe script that recorded this video ยท 59 lines
movie-night-one-dashboard.story
story "Movie night, one dashboard" {
meta {
app: "https://demo.home-assistant.io/#/lovelace/home"
viewport: 1440x900
language: en
locale: en-US
intro: "Three taps to movie night" style glass-title
outro: "Made with StoryCapture" 4s style end-card cta "Request access"
brand: url "storycaptures.com"
camera: sweep 0.5 blur 0.3 drift 0.3 aperture 0.5
cursor: mac-default
music: corporate-1 volume 0.2
background: linear-slate scale 0.88 shadow medium
transition: cut
}
setup {
navigate "https://demo.home-assistant.io/#/lovelace/home"
wait-for-visible <heading> "Living room" timeout 30000ms
wait 1500ms
}
scene "lights" "Lights down" camera sweep 0.5 truck right 0.3 over 6s {
overlay "Movie night" "Public Home Assistant demo" style lower-bar at 2s
say "Three taps from a bright living room to movie night." # @id=83cd92a1-0a0b-4528-ac5a-09b5ba677bda
hover <heading> "Living room" focus for 3000ms # @id=d0d08714-9406-498c-b3db-63280b0a4a2d
wait 800ms # @id=5cf96600-9163-4eb4-adc5-d1bda776e48c
say "Tap the floor lamp off, then the spotlights." # @id=14c6a9d8-2392-4cbb-9404-467671df8dd1
click selector "ha-tile-icon" nth 1 # @id=b0e772af-38aa-4097-a64c-4e63dd86422a
wait 1000ms # @id=6030f680-e328-4ab6-8413-830f63868a74
click selector "ha-tile-icon" nth 2 # @id=4630e31e-b400-4eb3-b7b5-a1923f6759a0
wait 1200ms # @id=d03d064e-0c13-433e-8c46-fac3885e8211
say "The bar lamp stays on, just enough light for the screen." # @id=27ebb545-5188-4f4f-8a80-c263b6815bba
hover <button> "Bar lamp" focus for 3000ms # @id=8a289b2e-a832-4284-8e2d-72400ebf2b87
wait 1200ms # @id=321753ff-7273-4135-9771-7671cb79cca2
}
scene "blinds" "Close the blinds" camera flat {
card style glass-title
say "Pull the blinds shut from the same screen, no second app." # @id=1a57d718-850b-40f1-8afc-fff51f86d9c7
click <button> "Blinds" # @id=8358ccd0-69dc-4f1e-afd2-41beee76c646
wait 1000ms # @id=3530ac6d-3547-4588-8d9a-51a3228a3fad
click <button> "Switch to button mode" # @id=b61183f2-c4e2-4bac-a05f-e3a7c6856ea4
wait 800ms # @id=41341b2f-00e4-42bd-8617-e8482804b01b
click <button> "Close cover" highlight # @id=07765a65-2380-415a-b1cd-7cb144c696f6
wait 1500ms # @id=23b101cb-f302-4f17-ad21-6f42afd5f904
say "The panel reports them closing while they move." # @id=ea0a4f42-a263-4e39-b083-4756ebeb63ec
hover selector "div > p" nth 1 # @id=efd168b4-3dae-4529-b3e6-a845220b11a3
wait 1500ms # @id=be623c86-ae44-4eb5-9df6-2160fe14a939
click <button> "Close" nth 1 # @id=8a93ee18-3b4b-42a1-9254-d2154e78fa82
wait 800ms # @id=ab47d6ee-d2bf-4da5-bd2c-53322ef0e1e5
}
scene "ready" "Movie night, ready" {
card style glass-title
say "Lights low, blinds shut, and the speaker keeps playing." # @id=686904fb-3685-4a04-9f32-86ab8e357806
hover <button> "Nest mini" highlight # @id=7824a550-692b-4e21-859a-27382c6fafff
wait 1500ms # @id=0bb87c69-a56b-4b43-baae-33d3c3e8f4d2
say "Every tile shows its new state, all from one dashboard." # @id=7858b682-b161-43e7-81f0-9230939a32f8
hover <heading> "Living room" focus for 3000ms # @id=ad849240-2970-4c15-9427-e71eb1ac5721
wait 2500ms # @id=467044b5-1527-40e9-9064-a4b483fbe96c
}
}
Make a video like this one: start from this script in the StoryCapture desktop app.