Coder Social home page Coder Social logo

jampez77 / multiline-entity-card Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 0.0 69 KB

A custom entity card for Home Assistant that allows text to span multiple lines.

License: MIT License

JavaScript 100.00%
home-assistant homeassistant hass hassio automation lovelace custom-cards hacs

multiline-entity-card's People

Contributors

jampez77 avatar jeroen7v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

multiline-entity-card's Issues

HTML formatting

Hello,

Great job with a card.

It would be even better :) if it supported html formatting, such as

  • breaking lines: \n and/or <p>text</p>
  • bold: <b>text</b>
  • italic: <i>text</i>
  • etc

Currently it looks like this:
multi1

Formatting:
multi2

Attribute in HA Developer Tools:
multi3

Regards

Can you add tap_action?

Hi,
this card is very usefull for me, thanks for creating it!
Can you add tap_action to navigate to a different frontend-page by taping on it?

Question about additional text formatting

Hi,
This is a great custom card but i was wondering if it might be possible to further alter the text displayed in the card. For example, i would very much like to change the font size of the text displayed by the entity and/or included attribute.
So far i have played around with using options from card-mod but so far i can only change the font colour.
Is it possible to alter the font type/size in some way?
Regards
Nick

Card doesn't want to show 2022.8.2

Installation
Home Assistant 2022.8.2
Supervisor 2022.07.0
Operating System 8.4
Frontend 20220802.0 - latest

For some reason this card wont show in lovelace as a custom card.

I have other custom cards that work, restarting a number of times wont show the card.

I have tried also searching by entity and changing the card from there, which also doesn't work

I am trying to use this with a weather entity which has a worded forecast for the day, this seems perfect for that use case.

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.