How to add more than one IP cast in media player sector in configuration.yaml?
I’m not sure I fully understand your request.
Are you trying to define more than one possible cast platform, or are you trying to play media on more than 1 cast media player?
If you just want to define multiple cast media players,just add them:
media_player:
# Google Home Mini
- platform: cast
host: 192.168.0.10
# Kitchen Cast
- platform: cast
host: 192.168.0.12
# Bedroom Cast
- platform: cast
host: 192.168.0.13
- platform: cast
host: 192.168.0.26
1 Like
Yes, that’s what i was meaning, but i found also that i can add more hosts in one line divided by a comma… Is this correct?
If they’re all on the same network, and you don’t want to exclude any, then just
- platform: cast
Once.
You don’t need to to be specifying ip addresses unless it’s a very specific use case.
1 Like
Ok i got it…