Comments (4)
The regex feature currently is just for display of the field in question, it does not filter actual entries based on any regex, currently.
from list-card.
Bummer. Still would like to know more about how it works, even if it doesn't solve my problem. I have to assume you had a good reason for including it as a feature in the original release and it seems a shame for me not to put it to use! :)
from list-card.
Here's an example from my personal configuration:
- type: custom:list-card
entity: sensor.upcoming_shows
title: Upcoming Shows
columns:
- title: ''
field: title
regex: >-
[0-9]{1,2}[Xx][0-9]{1,2}
Which takes a string like Manifest 1x06 "Off Radar"
and gives everything after the season/episode numbers, i.e. the title of the show "Off Radar"
It's just 100% regex matching against a string
from list-card.
Thanks for taking the time. I can see where that would be useful - maybe you could include this example in the readme for others. There are plenty of lurkers who aren't comfortable admitting they don't know. I don't suffer from this delusion so I have no problems asking; I'd rather learn something. LOL
Again, I really appreciate this combo and I'm looking back at ideas I had for incorporating data that I couldn't do before. Thanks. If you ever consider adding filters (if that's even possible), please consider me a willing beta tester!
from list-card.
Related Issues (20)
- The table goes outside the boundaries of the card HOT 2
- Feature request: Allow double row
- Using templates HOT 2
- Icon field with link
- 2021.7 HA update and new Python HOT 2
- Subfield. multidimensional HOT 5
- Feature Request: Ability to sort on any field HOT 2
- Styling the Card HOT 2
- Installed via HACS, visible in Resources, but not usable in YAML HOT 5
- Feature Request: Allow templating of field HOT 2
- Link isnβt clickable on mobile
- How to display enclosed images? HOT 11
- Cant find in HACS HOT 2
- Error when card is displayed before the sensor gets updated for the first time
- Cannot select text in the list HOT 2
- Not so much an issue, but something fun made with your work!
- Feature request: user should be able to select, copy cell contents HOT 1
- How can I use data sources that aren't RSS? HOT 1
- "Buy me a coffee" link is broken
- Card is not visible in home assistant HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from list-card.