Media_player: cast 'vs' cast: media_player

Hi

What’s the difference between

media_player:
  - platform: cast
    # Home mini
    host: 192.168.1.78
  - platform: cast
    # Home hub
    host: 192.168.1.80

(and)

cast:
  media_player:
    # Home mini
    - host: 192.168.1.78
    # Home hub
    - host: 192.168.1.80

This is for adding a home hub and a home mini. I prefer not to use auto_discovery and If possible I would like to add name: xxx to the configuration file.

Thanks
Kiwi

The short answer is that the second method is the right one. The first was used some time back in the 0.7x or early 0.8x releases.

1 Like

Thank you @Tinkerer . You’re forever dishing out help to us noobs.