Lovelace: Mini Media Player

Probably depends on whether the media player supports the join , unjoin services. Do they?

Hi, is there any possibility to make the line of the slider thinner?

Thanks in advance!

did you find a solution for this mate?
Iā€™m using google nests and Iā€™m getting this msg, not sure if Iā€™m doing something wrong

Assuming the Google nest uses the Google cast integration, then it does not support the join or unjoin services.

Yup the Nest definitely uses the Google Cast integration.

Thatā€™s a shame, thanks guys

1 Like

Correct, but also kinda strange because they DO support it via the Google Home app. I wonder if this is somewhere the Integration can be improved to fix the holeā€¦?

Yep, that would be a FR I think.

I want the entity name dynamic, so I use a input_text. but that does not work

                - entity_id: input_boolean.media_player_ruimte1
                  name: {{ states("input_text.ruimte_1")}}

gives me invalid key: "{'states("input_text.ruimte_1")': None}"

anyone an idea ?

The entity_name of what? entity_name is used in a number of contexts in the docs.

  - type: grid
    cards:
      - type: entities
        entities:
          - type: custom:mini-media-player
            group: true
            entity: media_player.oefenzaal_tv
            name: MEDIA PLAYER
            artwork: none
            hide:
              power: true
              icon: true
              toggle_power: false
              info: true
              volume: true
              group_button: true
            power_color: true
            show_source: true
            expanded: true
            speaker_group:
              platform: media_player
              sync_volume: false
              show_group_count: false
              expanded: true
              icon: mdi:link
              entities:
                - entity_id: input_boolean.media_player_ruimte1
                  name: {{ states("input_text.ruimte_1")}}
1 Like

This need to be a media player entity. Itā€™s name will start with media_player. You have specified an input boolean, which makes no sense.

I am not sure whether this is templatable. But fix the other problem.

@Faecon Itā€™s not templatable from what I see with the source code.

2 Likes

I am writing code for a media player that is not excisting at the moment. I am renovating a house. When the house is ready, I want to have it running as fast as possible

Well it still wonā€™t be an input boolean.

1 Like

Your ability to read .ts files is far superior to mine!

I know that. but when I donā€™t have a mediaplayer yet I made a helper. this has nothing to do with my questionā€¦

And therefore your question has nothing to do with this thread. But Iā€™ll try to help, try single quotes. If that doesnā€™t work see Templating - Home Assistant

my question has everything to do with this threadā€¦ It is the name of an entity of a mini media player that is not ok.
and @LiQuid_cOOled said it is not templatable so my question is answered

Templating was your second line. Putting an input boolean in where you should have a media player is just nonsense.

I suppose you put diesel into your petrol car too.

1 Like