Hi,
I have an automation that sends me a notification if everyone has left the house and a light is left on. This tracks group.all_lights.
I want to do the same for my media players. I’ve tried creating a group for them as follows:
Music:
name: "Music Players"
view: no
entities:
- media_player.bathroom_music
- media_player.kitchen
- media_player.living_room
- media_player.tv
This doesn’t seem to work - i.e it does not create the group.music_players that I would expect.
I’ve also tried creating a group in Lovelace and have used the interface to create a view of all media players, but that doesn’t have an overall group status either (i.e a status that would show as On if any media player in the group is playing.
Please can anyone point me in the right direction to resolve this? As always, I expect I am missing something painfully obvious!
Thanks