Giter VIP home page Giter VIP logo

Comments (8)

danielclindsay avatar danielclindsay commented on May 22, 2024 2

https://community.home-assistant.io/t/welcome-scenes-card/424409
@cyrilphoenix71

I built this today. Hope this helps

Just using mushroom cards and some custom CSS.

from lovelace-mushroom.

bemble avatar bemble commented on May 22, 2024

You can use the title and subititle with template for that: https://github.com/piitaya/lovelace-mushroom/blob/main/docs/cards/title.md

from lovelace-mushroom.

cyrilphoenix71 avatar cyrilphoenix71 commented on May 22, 2024

May be you're right but, I think this card can interesting some people, so maybe you can ad it to the todo list ?
Because the identity of mushroom is to give userfriendly HA ui construction, but your answer means we have to don't use user friendly customization no ?

from lovelace-mushroom.

bemble avatar bemble commented on May 22, 2024

What is more user friendly than adding a title card with the content Hello, {{user}}!? We could provide such card, but it would involve a lot complication starting with internationalization, and other request like: "handle when it's morning or evening", "How can I say "Hello {{user}} sweety" in my language, where sweety is a different for male and female?", "in my language things are different", "How to hide this message when the user already saw the dashboard today?". Well, a lot of stuff just for a "Hello" title you can already do with template, according to your language and what you want to put there, and I think we already have a lot stuff on track :)

I think I have to repeat the aim of mushroom:

  • provide minimilast, readable and user friend UI
  • cards must be frictionless and easy to setup, even for newbie
  • keep things simple, readable and easy to use
  • no HASS/HACS specific dependency
  • focus on what's important first
  • for developer, less dependencies as possible and best practices that make people able to participate
  • as a developer, if your feature involves messy code or messy UX, rethink or abort your feature
  • do not code what can me already done in few seconds/clics

from lovelace-mushroom.

cyrilphoenix71 avatar cyrilphoenix71 commented on May 22, 2024

Ok thanks for big answer, may be again my issue is not clear.
I'm not talk about smart text depend on time or scene etc... template or variable etc.. is here for this and for sur not necessery.
My suggest is to have a new card based on title card but with scene shortcut like in the picture.

from lovelace-mushroom.

bemble avatar bemble commented on May 22, 2024

As of today, you can set a title card with the "Scenes" subtitle, and below create a grid card and add your entities, vertical without state displayed. When we will add the glance card and the option to "uncardify" a entity card, then you'll have to create a glance card with your scenes entities or a grid with "uncardified" entities.

We won't do the border expanded on the entity name for now, it involves much discussion (why would we limit these buttons to scenes?). As of today, an inactive entity is grayed, colored according to its state.

from lovelace-mushroom.

LRvdLinden avatar LRvdLinden commented on May 22, 2024

@cyrilphoenix71 you can use the card from Minimalist UI

IMG_0266

from lovelace-mushroom.

LRvdLinden avatar LRvdLinden commented on May 22, 2024

https://github.com/UI-Lovelace-Minimalist/UI/blob/main/custom_components/ui_lovelace_minimalist/lovelace/ulm_templates/card_templates/cards/card_welcome_scenes.yaml

from lovelace-mushroom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.