Hi guys,
Just started messing around with HASS yesterday so please bear with me
So, I managed to call a service through the Services Tab that plays a specific MP3 Sound to my Chromecast Audio when evoked .
However, when I try to add the same service call in Lovelace by adding an Entity Card, it keeps failing with the error required key not provided @ data[‘media_content_type’] .
I am using the exact same settings as I use with the service call from the developers area .
Here is my config for this card :
type: entity-button
tap_action:
action: call-service
service: media_player.play_media
service_data: null
entity: media_player.chromecastaudio5245
entity_id: media_player.chromecastaudio5245
media_content_id: http://192.168.0.156:8123/local/audio/cineintro.mp3
media_content_type: music
hold_action:
action: more-info
show_icon: true
show_name: true
I have tried both audio/mp3 and music for the media_content_type !!!
However it keeps saying the required key is not provided ?
Anyone can give a hand with this please, seems there is no issue with the indentation or anything .
Thanks !