Is it possible to have different icon or text colors based on state ? Such as by default with a motion sensor where there is a motion, the icon is yellow.
Is it possible to have different icon or text colors based on state ? Such as by default with a motion sensor where there is a motion, the icon is yellow.
I came across this page looking for the same answer. I would like to have the icons display a different color based on state (i.e red when the garage is open and green when it’s closed). any luck with this?
hello
is this possible to implement?
type: 'custom:banner-card'
heading: "\U0001F6C1 Temperatura"
background: '#B0C2AA'
link: /lovelace/bathroom
cards:
entities:
- entity: plant.planta
name: Ficus Benjamina
type: plant-status
Hello
anyway to solve this:
if an entity is not available, just show like that instead of error in all the card?
check below
@nervetattoo Any news related to the PRs waiting to be merged with your repository ? Thanks for the great work !
I’m going to start by warning people I’m new to HASS, just stated playing as I’m wanting to move away from WebCore.
I’m using hass.io installed on a synology diskstation, I’m having an issue adding a group of lights to banner-card, it’s showing as a value rather than a switch.
When adding ‘group.lights_livingroom_all’ to an Entity card it displays as a switch, as in I can turn group on/off. However when adding the exact same to Banner Card it displays the value, as in text saying ‘on’ or ‘off’. I suspect it might be an issue with how I’ve set the group up.
This is my code from Banner Card:
background: '#B0C2ED'
entities:
- group.lights_livingroom_all
- light.bookshelf_lamp
- entity: sensor.netatmo_indoor_temperature
name: Temp
- entity: binary_sensor.aarlo_motion_livingroom
name: Motion
heading: "\U0001F6CB Livingroom"
link: /lovelace/1
type: 'custom:banner-card'
Here is the code from groups.yaml:
Lights.Livingroom.All:
name: Lights.Livingroom.All
entities:
- light.bookshelf_lamp
- light.dinning
- light.livingroom_mini
- light.tv
And finally a screenshot:
Thanks in advance!
Anyone able to get font sizes formatting to work w/card-mod style? :
This is what I’m using:
style: |
ha-card .heading {
color: white;
font-size: 2em;
margin-top: 15px;
margin-bottom: 15px;
}
hey.
sorry, maybe a dumb question, however how did you get it to display the “apple” image, rather then the normal one (U0001F6C1) - or is this because you use a mac and thats how a mac shows the image?
Hi I don’t have an entity for this action is there a way I can do it with MQTT.
P.S I can make and entity up if need too
background: "#EDE7B0"
heading: "\U0001F6CB Bedroom"
link: /lovelace/0
entities:
- entity: automation.green_house
name: Green House Water
value: mdi:book-open-page-variant
action:
- service: mqtt.publish
data: {"payload": "ON", "topic": "cmnd/utilities/SprinklerSystem/POWER5", "retain": "0"}
Next thing is there action I can add my
input_number:_slider_1
as a slider
thanks love the card
I’m on vacation and have been spending my time on the beach while muting everything related to tech, so I’ve not had a look at any PRs or issues no Easing back to being online more now and will slowly be replying and processing everything over the coming week.
Hello to all
what is the best way to get more icons?
Hi. looks like Banner card support background image.
- background: url(/local/home.png)
entities:
- attribute: state
entity: switch.pc
map_state:
'off': 'mdi:monitor-off'
'on': 'mdi:windows'
name: PC
Is it possible to have a state shown as a different text. For instance I have a door listed when open shows “on” when closed shows “off”. I would like it to say “open” and "closed. I thought the attribute key would be used for this but for some reason I am having a hard time implementing.
Thanks
Sorry should have tried some more. Was able to accomplish this with map_state. Shown below incase anyone has the same issue as me.
map_state:
'on': open
'off': closed
Hi All,
I’m still struggling to get a group of lights to act like a Switch, it shows the state of the group rather than a switch. Any ideas? Full details: Lovelace: Banner card
I have the exact same question. Is it possible to have a toggle for groups?
This is really a great card. Thank you for all the hard work!
Is there a way to add volume control to the media player?
How do you round the cards?
Install card-mod custom card and then use the following
style: |
ha-card {
border-radius: 5px;
}