Ok, I found out after commenting out each individual row and restart…
seems the
- service: home_assistant.turn_off
entity_id: group.media_player_media
stops the script from continuing. Must investigate if these are all valid entities, but there’s nothing in the logs.
Some of these media_players cause issues in Lovelace not having a state, and the group itself has state Unknown.
Now where to start. Is this a bug? Or is this per (new) design. Thing is, these media_players only get initialized when active, and that’s exactly what’s bugging Lovelace. In regular HA they aren’t shown, or have state Unavailable…
anyways, how to have a command to turn_off this group (to prevent HA fro trying to read these media_players all night and day, which is a bug, or should I say design error, in its own…)
changed OP title accordingly.
or need I do this: