Hi guys,
I’m using the documentation example for Universal Media Player ( https://home-assistant.io/components/media_player.universal/ ) and am still getting an error when trying to change sources. Maybe a bug? I’ve tried using " instead of ’ but still the same error.
Error: [homeassistant.helpers.service] Invalid config for calling service: template value should be a string for dictionary value @ data[‘data_template’][‘source’]
My config:
- platform: universal
name: Universal Media Player (Living)
children:
- media_player.shield_tv
- media_player.playstation_4
- media_player.living_room
commands:
select_source:
service: media_player.select_source
data_template:
entity_id: media_player.yamaha_avr_receiver
source: '{{ source }}'
vs Example:
service: media_player.select_source
data_template:
entity_id: media_player.receiver
source: '{{ source }}'