Giter Site home page Giter Site logo

Comments (4)

PeteCondliffe avatar PeteCondliffe commented on May 18, 2024 1

Thank you so much.
Love the other things you guys have done with it too. Its allowed me to do this;
capture

from mini-graph-card.

kalkih avatar kalkih commented on May 18, 2024

Nice setup!
That's indeed a great idea for saving space.
i'm thinking about what we should name that option,
icon_position maybe? What do you think?

from mini-graph-card.

PeteCondliffe avatar PeteCondliffe commented on May 18, 2024

Thanks.
Wish I could help with the code but I would have to learn how to first. :(

Yeah I thing icon_position works with string values something like;
title - For the position its in now (Default)
state-left - Positioned before the state
state-right - Aligned right inline with the state. About where I have it on my screenshot

I really don't know how much work is involved so I guess if its a lot just have state instead of state-left and state-right

from mini-graph-card.

kalkih avatar kalkih commented on May 18, 2024

Now available with the latest release v0.2.0

Can be achieved by setting name: false under the show option and align_icon: state. See example below

# Example compact
- type: custom:mini-graph-card
  name: COMPACT CARD
  entities: sensor.example_sensor
  align_icon: state
  show:
    name: false

Thanks for the suggestion!

from mini-graph-card.

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.