Automation TTS Google home

New user here and loving the community so far. I have everything work except Automation.
Simlpe script I thought. When Light turns on send TTS command to Google Home speaker. When I click on the speaker from the dashboard TTS works fine. Just not Automation. Here is my script


  • alias: Light ON
    platform: state
    entity_id: switch.downstairs_light_switch
    from: ‘off’ <—I have moved this line in testing
    to: ‘on’
    service: tts.google_say
    entity_id: media_player.basement_home
    message: ‘Lights Turned on.’

Rebooted my server and its working…Not sure why but the commands work :slight_smile:

Thanks for this. Worked great for making google TTS work in automations