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
automation:
- alias: Light ON
trigger:
platform: state
entity_id: switch.downstairs_light_switch
from: ‘off’ <—I have moved this line in testing
to: ‘on’
action:
service: tts.google_say
entity_id: media_player.basement_home
data:
message: ‘Lights Turned on.’