Created
June 8, 2018 00:27
-
-
Save TerroBladeZ/a17725eed958cd8a4b92f802f9a53e12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_select: | |
music: | |
name: Playlists | |
options: | |
- " " # Should be empty | |
icon: mdi:playlist-play | |
media_player: | |
name: Speakers | |
options: # entity_ids of your media players | |
- "every_speaker" | |
- "first_floor_speakers" | |
- "kitchen_home" | |
- "chromcast_onkyo" | |
- "basement_speaker" | |
icon: mdi:speaker-wireless | |
switch: | |
- platform: gmusic | |
user: !secret gmusic_user | |
password: !secret gpassword | |
device_id: !secret gmusic_device_id # http://unofficial-google-music-api.readthedocs.io/en/latest/reference/mobileclient.html#gmusicapi.clients.Mobileclient.login | |
media_player: media_player # entity id of the input select used for mediaplayer | |
playlist: music # entity id of the input select used for playlist | |
# OPTIONAL | |
group: | |
google_music: | |
name: Google Music | |
entities: | |
- input_select.music | |
- input_select.media_player | |
- switch.google_music | |
shell_command: | |
install_gmusic: pip3 install gmusicapi | |
automation: | |
- alias: homeassistant_start | |
trigger: | |
- platform: homeassistant | |
event: start | |
action: | |
- service: shell_command.install_gmusic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment