Comments (4)
At the end of the day the sidebar is also made out of button-cards (https://github.com/custom-cards/button-card).
Button cards have the entity_picture option to show pictures/images instead of icons and/or text on the button card.
Hope this helps!
from hass-config.
Hey @tnusch ,
thank you for that, but where should i put the Card in ?
from hass-config.
Everything goes into ui-lovelace.yaml, regardless if you choose to replace the 4 tiles in the main dashboard (e.g. hemma section) or the sidebar. The ui-lovelace.yaml file is grouped into the corresponding sections (sidebar, media etc) which you can individually change.
If you need an own template for your button card, ideally you put it under /button_card_templates/
from hass-config.
Hey @tnusch, first of all, thank you for that. I just have the problem that it is displayed so small and I don't know how to fix it.
I have created a camera.yaml as a template, the content is:
camera:
template:
- settings
show_icon: false
show_name: false
show_state: false
show_label: false
show_entity_picture: true
show_live_stream: true
tap_action:
action: more-info
styles:
card:
- background: transparent
- border-radius: 12px
- box-shadow: none
- width: 100%
- height: auto
Unfortunately, it is displayed very small and not centered, as shown in the picture. Even in the dashboard itself, I tried, but I always encounter the problem with the size. And the frame in the background.
Do you perhaps have a tip for me?
from hass-config.
Related Issues (20)
- template yaml HOT 1
- There are adjustments about the button card lock HOT 3
- Restarting after update to yaml HOT 2
- Wallpanel Full Screen HOT 2
- 2023.7 workaround HOT 2
- Alarm Card HOT 1
- Can't edit the dashboard cards. HOT 4
- Popup is transparent on iPad HOT 1
- Why does a broken icon appear when I toggle a button? HOT 1
- Manually copy over these files from matt8707/hass-config HOT 1
- Missing blur overlay on media, button card with chrome browser
- Missing Background (just had it on Chrome)
- Vacuum More Info (whack-a-mole needed) HOT 9
- Custom element doesn't exist: grid-layout. HOT 1
- Youtube watching sensor not working anymore
- Dashboard Home Assistant
- how to use LG WebOs on media slider
- No Background Image
- wrong post sry
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 hass-config.