Invalid config for [script]: [condition] is an invalid option for [script]. Check: script->script->bedtime_music->sequence->0->condition. (See /config/configuration.yaml, line 12). Please check the docs at https://home-assistant.io/components/script/
I’ve tried copying all types of examples to get the condition right, but they all generate the error. Here is the code.
as you can see, the template in my full example refers to the entity_id, and not to the state of the entity_id.
This might be the case in your condition also. the state of the {{bedtime_player }} would probably be the entity_id of the selected player, and not the state of that particular entity_id.
getting to the state of that entity_id would then need to be something like {{ states(bedtime_player) == 'playing' }}