script:
- Invalid config for [script]: Entity ID script.{{name.lower()}}{{command.lower()}} is an invalid entity id for dictionary value @ data[‘script’][‘run_switch_command’][‘sequence’][0][‘entity_id’]. Got 'script.{{name.lower()}}{{command.lower()}}’
expected a dictionary for dictionary value @ data[‘script’][‘run_switch_command’][‘sequence’][0][‘data_template’]. Got None.
Look at the line closer. They use quotes around the entire thing, not around each statement and final call. This is done because single line requires quotes, multi line does not. That’s just the nature of yaml.
Hi Petro. I’d like to ask you a question and see if you can solve my problem.
I have created playlists in volumio media player with shell command.
In configuration.yaml ho scritto:
meda_player:
volumio_playlist3:
alias: Classic FM
sequence:
- service: shell_command.volumio_classicfm
I would like to create an input_select
example:
volumioplaylist:
name: Volumio Playlist
options:
- Select your favourite Radio
- script.volumio_playlist1
- script.volumio_playlist2
- script.volumio_playlist3
initial: Select your favourite Radio
icon: mdi:music
…but she don’t work.
Can you tell me how to create an input_selct to get a list to select the various playlists? Thank’s in advance!!!