So I recently was trying tio make a sound play on a media player. I created a new automationm and built a trigger, then I went to add a media player action. To do so I went to:
Then Do
and selected:
+ ADD ACTION
then chose:
Media Player
then chose:
Play media
On Select Media Player, no matter what media player I choose, I get this error:
Visual editor is not supported for this configuration
* Key 'service' is not expected or not supported by the visual editor.
You can still edit your config using YAML.
action: media_player.play_media
target:
entity_id: media_player.ca_speaker_1_esphome_i2s_media_player
data:
media_content_id: ""
media_content_type: ""
metadata: {}
service: media_player.play_media
`