cancel
Showing results for 
Search instead for 
Did you mean: 

AI generated automation will not run

JeannieG
Community Member

We have a Treatlife presence sensor and a Google audio speaker.  I used the AI script generator on Google home web to create an automation.  The automation does not have any errors.  I have saved it and activated it.  But it does not run when I select the arrow button to play the automation.  I am logged into the same account as we used for the google home app.  I have tried an automation that uses the sensor and the speaker without the condition, that works.  I did the automation that works from the app on my iPhone.   Any help is appreciated.

metadata:
name: Motion detected between 11:30PM & 2:30AM
description: Play a message when motion is detected

automations:
- starters:
- type: device.state.MotionDetection
device: Presence Sensor hallway - Loft
state: motionDetectionEventInProgress
is: true

# ---- CONDITIONS ---- #
condition:
type: time.between
after: 22:30
before: 02:30

# ---- ACTIONS ---- #
actions:
- type: assistant.command.Broadcast
devices:
- Loft speaker - Loft
message: Time to go to bed!

1 REPLY 1

GeremiG
Community Specialist
Community Specialist

Hi @JeannieG!


Thank you for posting in the community. I can understand how important it is for you to get your Google Home automation working with your Treatlife presence sensor and Google audio speaker. I appreciate your efforts in creating the automation using the AI script generator on the Google Home website. I'm happy to help you! 

I want to share with you the following articles that will help you with your home automation: 

Let me know how it goes.

 

Best regards,
Geremi