Anashost / MY-HA-DASH

81 stars 8 forks source link

custom:stack-in-card #7

Open tunavis opened 8 months ago

tunavis commented 8 months ago

Good day gents and ladies,

I want to find out why is my icon not appearing with the following code(Icond should change depending on state)

Anashost commented 8 months ago

Use custom:mushroom-template-card instead, because custom:mushroom-entity-card doesn't supports templates.

Note: using custom:mushroom-template-card requires you to edit some of the entries like: Replace primary_info: xxx secondary_info: xxx with primary: xxx secondary: xxx

tunavis commented 8 months ago

Thanks for the update does this support name entity seems like it removes my name:

image

Anashost commented 8 months ago

Yes use secondary: "the name you want"

Also to get rid of the boarders, use mushroom shadow theme in home assistant profile settings.

Screenshot_20231023_180335_Home Assistant

tunavis commented 8 months ago

Thanks for this. For some reason i have installed the mushroom theme but my theme selection seems to be still greyed out. I did do a full restart of HA

On Mon, Oct 23, 2023 at 6:05 PM Anashost @.***> wrote:

Yes use secondary: "the name you want"

Also to get rid of the boarders, use mushroom shadow theme in home assistant profile settings.

[image: Screenshot_20231023_180335_Home Assistant] https://user-images.githubusercontent.com/41167157/277400946-31386b63-3724-46ce-b26f-0aac5b82556a.jpg

— Reply to this email directly, view it on GitHub https://github.com/Anashost/MY-HA-DASH/issues/7#issuecomment-1775529416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5PBKFMBS75TJQOXC25SFTYA2IS3AVCNFSM6AAAAAA6I4IUS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVGUZDSNBRGY . You are receiving this because you authored the thread.Message ID: @.***>

Anashost commented 8 months ago

Thanks for this. For some reason i have installed the mushroom theme but my theme selection seems to be still greyed out. I did do a full restart of HA

Never had this issue! do you have this in your configuration.yaml?

# Themes
frontend:
  themes: !include_dir_merge_named themes
tunavis commented 5 months ago

Hi Gents been some time, had alot of work and did not get the time to work on HA.

@Anashost Thanks for the input it seems like names is displaying but the font and color is not maching any recommendations?

image

Anashost commented 5 months ago

Make sure you followed step 4 correctly, as it's responsible for showing the colors.

tunavis commented 5 months ago

The color of Garage icon changes like a dream. It is the font that is the problem.

Anashost commented 5 months ago

Ah, send your yaml for this card to have a look. Mostly likely your using primary information (big bold font) instead of secondary information (small light font)