Can I use this card if I use the Lovelace GUI mode? There is no ui-lovelace.yaml file. Have I to create this file? Even if I use the storage lovelace mode?
same problem all was working fine untill i updated hassio to 0.84.6 and configured my lovelace to use yaml file. all my other custom cards still work fine
Yes you can, you just need to add the resource reference to mini-media-player-bundle.js in the auto generated lovelace file stored in /config/storage/lovelace instead of adding it in ui-lovelace.yaml.
I personally wasn’t able to use the “Raw config editor” in the GUI (left me with a blank file) so I had to open the file in a text editor to make the changes.
The beginning of the file should look something like this:
And when you want to add a mini-media-player card from the “Edit UI” GUI, just select media-control card (or any other card) and replace type: media-control with type: custom:mini-media-player, and then continue on with the rest of the options
Can anyone show me a working example for the media_button for Sonos speaker?
media_buttons:
- name: RA-Heavy Metal
type: music
url: 'http://www.rockantenne.de/webradio/channels/heavy-metal.aac.pls'
I get this error: ERROR (SyncWorker_1) [homeassistant.components.media_player.sonos] Error on play_media with UPnP Error 800 received: from 192.168.178.5
I have been trying to get the sonos_grouping to work in lovelace storage mode. Is this the only place where the groups need to be defined? I have added the configuration and made sure hide_power: true as it appears the grouping option is in the same location as power. However they never show up. just making sure I did not need additional configuration in another .yaml flie somewhere?
Here is the config I am using.
entity: media_player.kitchen
type: ‘custom:mini-media-player’
artwork: cover
hide_power: true
sonos_grouping:
- entity_id: media_player.loft
name: Sonos Loft
- entity_id: media_player.kitchen
name: Sonos Kitchen
Hi,
You don’t necessarily have to to hide the power button, the Sonos group button should show up either way as long as you got the latest version of the card and a valid config. And It should work the same in storage mode.
Since you didn’t post your config as a code block I can’t check if the indentation is correct.
One question: using the group option, the artwork is disable by default?
Using group i cannot set the artwork to any option.
More: I have two Sonos One set as stereo group, but i cannot disable one of them to see only the group name. How to disable one of the two to have only the group name?