How do I confirm I have a media player called media_player.chromecast ?
It can see my chromecast in GUI bt how can i confirm the name?
The username and password are correct because I can see the playlists i have…
ERROR (Thread-5) [custom_components.switch.gmusic] media_player.chromecast is not a valid media player.
My configs:
input_select:
music:
name: Thumbs up
options:
- " " # Should be empty
icon: mdi:music-note
media_player:
name: Media player
options: # entity_ids of your media players
- "media_player.chromecast"
icon: mdi:music-note
switch:
- platform: gmusic
user: [email protected]
password: pass
device_id: ios0CD34363-3EB1-42AC-902C-0999F5439E75 # http://unofficial-google-music-api.readthedocs.io/en/latest/reference/mobileclient.html#gmusicapi.clients.Mobileclient.l$
media_player: media_player # entity id of the input select used for mediaplayer
playlist: music # entity id of the input select used for playlist
This component is for multiroom audio on networked cca’s. Works great, like Sonos at 10% of the price. But it’s no good if you don’t have the right kit.
I’ve just realised…
Change your input select code to this:
input_select:
music:
name: Thumbs up
options:
- " " # Should be empty
icon: mdi:music-note
media_player:
name: Media player
options: # entity_ids of your media players
- chromecast
icon: mdi:music-note
Keeping everything else how I put it last time.
(note that the media player is now just chromecast, without media_player on the front as this gets added by the switch)