Comments (2)
for template cards/chips use the template syntax
also i would restructure those options
badge:
show_if: {{ states('sensor.temperature') > 50 }}
icon: mdi:icon
color: yellow
Using "show_if" with template syntax instead of a binary sensor allows more flexibility.
The template should return a boolean.
icon or color should support template syntax for more complex selections
from lovelace-mushroom.
I'm really missing the badge options for the entity card. @piitaya - do you want this in mushroom? I could open a PR for the entity card if so.
from lovelace-mushroom.
Related Issues (20)
- [Bug]: Unresponsive light status control HOT 1
- [Feature]: Grabber/Handle style like home assistant
- [Bug]: 2024.3 Different card width on different devices HOT 2
- [Bug]: bigger size of mushroom card in sections type of dashboard HOT 6
- [Bug]: icons are not described in output
- [Bug]: BrowserMod action: fire-dom-event removed from editor
- [Feature]: Improve "Unavailable" status on lock card HOT 1
- [Feature] - Adding a card for lawn mower HOT 6
- [Bug]: climate with Netatmo not working HOT 6
- [Bug]: mushroom-select menu cut off
- [Bug]: after latest Update subtitle template code is not visible but exists
- [Feature]: Differentiate between the icon tap and the regular tap in the tile(light) card
- [Feature]: Media player icon toggles on/off, just like the climate card
- [Bug]: Select Card - When selecting from the dropdown, the remaining card disappears. HOT 2
- [Feature]: add a range slider (2 headed slider) HOT 2
- [Bug]: Secondary information not rendered in Template Card HOT 1
- [Feature]: Energy entity card
- [Feature]: Secondary Info custom text HOT 1
- [Feature]: Call more-info/call-service of different entities - with tap, double-click or hold action / Template Cards HOT 1
- [Bug]: Entity chip card always show icon, even with icon_type: none
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 lovelace-mushroom.