Coder Social home page Coder Social logo

Readme request about list-card HOT 8 CLOSED

iantrich avatar iantrich commented on August 14, 2024
Readme request

from list-card.

Comments (8)

johntdyer avatar johntdyer commented on August 14, 2024 1

@ludeeus you just linked to this repository...

from list-card.

nnmalex avatar nnmalex commented on August 14, 2024 1

@imbaimbaimba could you please also post a screenshot of the result for the reference?

from list-card.

ludeeus avatar ludeeus commented on August 14, 2024 1

@imbaimbaimba
Your example works for me 🤷‍♂️
image

type: 'custom:list-card'
entity: sensor.test_sensor
columns:
  - title: title
    field: title
    style:
      - white-space: nowrap

from list-card.

johntdyer avatar johntdyer commented on August 14, 2024

I tried the example here ( https://github.com/custom-components/sensor.feedparser ) but it doesn't work... the feed is fetchd by HASS but the list plugin doesnt seem to list it out in lovelace...

from list-card.

ludeeus avatar ludeeus commented on August 14, 2024

To list it in lovelace use this https://github.com/custom-cards/list-card

from list-card.

imbaimbaimba avatar imbaimbaimba commented on August 14, 2024

@ludeeus you just linked to this repository...

Same here, it doesn't seem to work.

from list-card.

imbaimbaimba avatar imbaimbaimba commented on August 14, 2024

I got this in my configuration.yaml:

  - platform: feedparser
    name: TV2 Nyhederne
    feed_url: 'http://feeds.tv2.dk/nyhederne_seneste/rss'

Pulls data like this:

Se kortet: Her genåbner de 15 første BR-butikker over hele landet: {
  "title": "Se kortet: Her genåbner de 15 første BR-butikker over hele landet",
  "guidislink": false,
  "authors": [
    {
      "name": "Ole Krohn"
    }
  ],
  "summary": "<p><img src=\"http://imbo2.tv2.dk/users/editorial/images/086a2659-f8d2-46f0-bdb3-df1f55a7ac23.jpg?t%5b%5d=tv2cropping:width=960,height=540&accessToken=28f886ef9bec57f2e597641591559509178d47cc7485e8daf4c3db70b312f655\" alt=\"BR gen&aring;bner med 15 butikker landet over.\" /></p><p>BR er nu klar til at melde ud, hvor de første 15 butikker åbner. Se kort med butikkerne nederst i artiklen.</p>\n\n<p>Det er de større byer, der får glæde af legetøjsbutikkens genkomst, efter Salling Group k...</p>",
  "link": "http://nyheder.tv2.dk/business/2019-02-20-se-kortet-her-genaabner-de-15-foerste-br-butikker-over-hele-landet",
  "summary_detail": {
    "base": "http://feeds.tv2.dk/nyhederne_seneste/rss",
    "type": "text/html",
    "value": "<p><img src=\"http://imbo2.tv2.dk/users/editorial/images/086a2659-f8d2-46f0-bdb3-df1f55a7ac23.jpg?t%5b%5d=tv2cropping:width=960,height=540&accessToken=28f886ef9bec57f2e597641591559509178d47cc7485e8daf4c3db70b312f655\" alt=\"BR gen&aring;bner med 15 butikker landet over.\" /></p><p>BR er nu klar til at melde ud, hvor de første 15 butikker åbner. Se kort med butikkerne nederst i artiklen.</p>\n\n<p>Det er de større byer, der får glæde af legetøjsbutikkens genkomst, efter Salling Group k...</p>",
    "language": null
  },
  "title_detail": {
    "base": "http://feeds.tv2.dk/nyhederne_seneste/rss",
    "type": "text/plain",
    "value": "Se kortet: Her genåbner de 15 første BR-butikker over hele landet",
    "language": null
  },
  "id": "http://cms.tv2.dk/node/1932222",
  "author_detail": {
    "name": "Ole Krohn"
  },
  "links": [
    {
      "rel": "alternate",
      "type": "text/html",
      "href": "http://nyheder.tv2.dk/business/2019-02-20-se-kortet-her-genaabner-de-15-foerste-br-butikker-over-hele-landet"
    }
  ],
  "published": "Wed, Feb 20 09:00 AM",
  "content": [
    {
      "base": "http://feeds.tv2.dk/nyhederne_seneste/rss",
      "type": "text/html",
      "value": "-",
      "language": null
    }
  ],
  "author": "Ole Krohn"

Tried a simple card, but it doesn't make any rows in the list:

      - type: custom:list-card
        entity: sensor.tv2_nyhederne
        columns:
          - title: title
            field: title
            style:
              - white-space: nowrap

from list-card.

imbaimbaimba avatar imbaimbaimba commented on August 14, 2024

@imbaimbaimba could you please also post a screenshot of the result for the reference?

This?
https://i.imgur.com/db2wtLV.png

from list-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.