bar-card
bar-card copied to clipboard
Entity Picture badge as icon
as of installing 3.1.2 this error is in the inspector/ha log:
...../local/lovelace/resources/bar-card.js?v=3.1.2:5332:0 SyntaxError: Unexpected keyword 'export'


not referencing a specific card-config at all, this seems to be a bug in the custom-card code itself?
Make sure you load it as a module instead of js.
thnx, that was it, sorry I missed that.
please let me ask
using stack: horizontal
still works, but I now notice it isn't listed in the config documentation. is this correct?
secondly, With the latest version, I now have an icon below my bar card, where I dont want an icon at all (my entities have entity_picture defined, not icons). before, we had to define an icon, without it it wouldn't show (I think). Isn't there a show_icon: false
option?

would be cool if we could show the entity_picture of the entity btw, did you already think of that? Maybe add that to entity_config: true
? tried that, but didn't show a picture.
thanks!
The icon is part of the positions
config. Also stack
is still working but deprecated, you should use columns
instead.
I'll have a look at the entity picture thing and see if/how to implement that.
bingo! thank you sir.

please keep stack: horizontal/vertical
. Much more generic than the verbose column number.
and thanks for considering entity_picture. cool!
The icon is part of the
positions
config. Alsostack
is still working but deprecated, you should usecolumns
instead.I'll have a look at the entity picture thing and see if/how to implement that.
@Gluwc I'm wondering if you have been able to take a look at the entity picture idea in place of an icon, and if that is on the roadmap? I really like what @Mariusthvdb is going for. I even created svg's of my ink cartridges.