Looking for print - play music when door sensor is opened

Hi All,

Does anyone know of a print or basic guide to play music through a echo dot on Pandora when a door is opened?

Any help is greatly appreciated.

Jesse

Go to settings and create a new automation.
Trigger: state: sensor.door (open)

Action: service: play media: media_player.echo.

Hipe tou figure it out :slight_smile: