AalianKhan / mushroom-strategy

A strategy to automatically generate a dashboard using mushroom cards
MIT License
364 stars 36 forks source link

Adding a background image #96

Open RandomLegend opened 9 months ago

RandomLegend commented 9 months ago

Hello! :wave:

I just set up my dashboard with this fantastic integration! But i'd really love to have the ability to add a custom background to it.

Most awesome would be the ability to add specific backgrounds to each view, but one for all would also be fine.

Is this possible to add in the future?

DigiLive commented 9 months ago

Hi.

Thank you for your interest. Your asking to support the background configuration variable?

RandomLegend commented 9 months ago

Hey,

yes i think so. I just started my whole home assistant journey so i didn't even know about that. Can i set a background via that and make they mushroom strategy use that?

DigiLive commented 9 months ago

Unfortunately No... The strategy generates views dynamically, based on the configuration in yaml. Currently the background configuration isn't supported.

Keep the issue open, so we'll notice it during development of new features.

RandomLegend commented 9 months ago

Alright, thanks for the quick answer!

i managed to set a background for the whole dashboard now so that's atleast a start!

ivalba commented 3 months ago

Hey @RandomLegend can you explain how you managed to have a background into a mushroom-strategy generated dashboard? thanks!

RandomLegend commented 3 months ago

I didn't do it inside the dashboard itself but i simply created my own "theme" where i just copy&pasted the default theme but added a background there.