Open Mariusthvdb opened 2 weeks ago
Where do you see in the docs that the format should be entity: ....
?
This page https://www.home-assistant.io/dashboards/entity-filter/ indicates that list of entity ids is ok, which is what maxi-media-player supports
I'm not saying it should be, I am saying it accepts it, sorry if that came across the wrong way
it would really be helpful if maxi-media-player would accept lists like above, including the entity:
- type: custom:maxi-media-player
entities:
- entity: media_player.googlehome_library
- entity: media_player.googlehome_hal
I still don't understand how it would help. Nothing in the link below says it should be in that format. Unless I am missing something? https://github.com/thomasloven/lovelace-auto-entities
yes, your card can not accept
- type: custom:maxi-media-player
entities:
- entity: media_player.googlehome_library
- entity: media_player.googlehome_hal
but only entities like
- type: custom:maxi-media-player
entities:
- media_player.googlehome_library
- media_player.googlehome_hal
however, most other card accept the entity:
so you can set names and other options. Most importantly in this FR though is the reason auto-entities outputs the list with the entity:
as Ive posted above.
btw, Ive just taken out all testing card configs with the maxi-media-player card, and the javascript error remains in Inspector:
and can only be prevented by removing the resource in HACS/not loading it.
Checklist:
Release with the issue: 1.7.1 Last working release (if known):
Browser and Operating System: any we tried
Description of problem:
No supported players found
trying to use your card in auto-entities,
we get the below error, because your card does not accept
which is what auto-entities produces, (and probably all HA card using entities accept).
eg, see: https://www.home-assistant.io/dashboards/entity-filter/ or entities card ofc, which goes without saying being the main entities listing card in HA
So, please consider accepting that in the config of your card, do we can create an auto-generated card config
Javascript errors shown in the web inspector (if applicable):
Additional information: https://community.home-assistant.io/t/maxi-media-player/705007/16?u=mariusthvdb
https://community.home-assistant.io/t/auto-entities-automatically-fill-cards-with-entities/147801/1359?u=mariusthvdb