Home Assistant Community

`media_player.media_stop` service: "allow" (eg: ignore) extra keys @ data

#1

This error, extra keys not allowed @ data['media_content_type'], stops the media_player.media_stop service from executing.
Because of this a service_template cannot be used to execute either play_media or media_stop since the data field is required for the former.

Would it be possible to have the media_stop service simply ignore any extra keys in data rather than refusing to execute?

0 Likes