a month ago
I have the current script built, and it works perfect. The problem is that the living room display keep showing that camera forever. I've tried adding a time (1 minute), but that gives me errors. After a minute, I want it to return to the main screen, which in my case is just a clock. What do I need to add on to the end to make this work.
metadata:
name: Someone is at the door
description: Script someone is at the door
automations:
- starters:
- type: device.event.PersonDetection
device: Front Door(Front Door) - Front Door
actions:
- type: assistant.command.Broadcast
devices:
- Google kitchen - Kitchen
message: Someone is at the door
- type: assistant.command.OkGoogle
devices:
- Living Room Display - Living Room
okGoogle: Display the front door.