AalianKhan / mushroom-strategy

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

Improve Areas on Home view #49

Closed punxaphil closed 1 year ago

punxaphil commented 1 year ago

What an amazing dashboard strategy you have created. Thanks! 👏 Great work and finally I can get rid of Dwains Dashboard (it was great for a while, but has been very buggy lately for me).

Two things:

  1. I'd like to be able to configure the title for "Areas" in the Home view (much like I can set the title for domains)
  2. "Areas" title looks misplaced to me. It is in the left column, while all areas are in the right column. Please see screenshot: image
AalianKhan commented 1 year ago

What would you like to change areas to?

punxaphil commented 1 year ago

I'd like to translate it to Swedish. Something like this:

strategy:
  type: custom:mushroom-strategy
  options:
    areas:
       title: Områden
punxaphil commented 1 year ago

Much like I've done with the domains:

strategy:
  type: custom:mushroom-strategy
  options:
    domains:
      light:
        title: Lampor
      media_player:
        title: Spelare
      cover:
        title: Mörkläggning
      switch:
        hidden: true
      binary_sensor:
        hidden: true
      sensor:
        title: Sensorer
      climate:
        title: AC
      default:
        title: Övrigt
punxaphil commented 1 year ago

Or even better would be to support translations 😄 Home Assistant already has these translations. Example for areas:

image
AalianKhan commented 1 year ago

Yes, I would probably be implementing this instead, but still deciding.

punxaphil commented 1 year ago

Cool. How about the misplacement?

AalianKhan commented 1 year ago

That is a bug, I will fix that