david1
(David)
March 15, 2020, 6:31pm
539
- title: Lights
path: lights_path
cards:
- type: "custom:homekit-card"
enableColumns: true
statePositionTop: true
rows:
- row: 1
columns:
- column: 1
tileOnRow: 4
entities:
- title: Living Room
entities:
- entity: light.tv_light_1
- entity: light.tv_light_2
- entity: light.living_room_light
- entity: light.living_room_light_r
- column: 2
tileOnRow: 3
entities:
- title: Kitchen
entities:
- entity: light.beganegrond
- row: 2
columns:
- column: 1
tileOnRow: 4
entities:
- title: Upstairs
entities:
- entity: binary_sensor.wasmachine_status
- entity: weather.weersverwachting
- row: 3
columns:
- column: 1
entities:
- title: Bedroom
entities:
- entity: switch.doorbell_chime_active
this doesnt work at all and its straight from the examples
DBuit
(DBuit)
March 16, 2020, 7:05am
540
Hi,
I worked on it a bit it is working but not documented or anything. But you can use it with hacs as custom repo.
Flagun
(Marek)
March 17, 2020, 2:08pm
541
Hi,
is it possible to make a tile wider than just 2 times wide?
Thanks, did that. But still have trouble getting it going.
- title: Sonos
id: musik
panel: true
cards:
- type: "custom:custom-sonos-card"
name: Sonos
entities:
- media_player.alrum
- media_player.terrase
- url: /community_plugin/custom-sonos-card.js?v=1.0
type: module
\hassio\config\www\community\custom-sonos-card
Can you spot my error?
mrkrabs
March 26, 2020, 10:05pm
543
Thanks for your work, itâs awesome!
Quick one - how do I change a background of a single tile? I should use cardstyle, right?
Flo.C
(Flo)
March 31, 2020, 11:00pm
544
Hi @DBuit ! Great work here. Getting close to h e the first Version up and running
Two questions:
I integrated my covers into the card. Sadly I canât simply push the tile to just open it. I need to âpush throughâ any idea how to configure this?
Pretty sure you saw @Mattias_Persson Theme.
A different take on designing a Lovelace UI
Any chance we get animated tiles too?
Thanks a lot
mkhattab
(Pharaohnough)
April 1, 2020, 10:51am
546
Thanks @DBuit this is a nice addition.
It looks great.
Will you also be able to add the off state definition for sidebarMenu items to differentiate visually the current state (as discussed before) ?
mkhattab
(Pharaohnough)
April 1, 2020, 11:02am
547
This is actually a much nicer and more elegant solution than sidebarMenu
Great work Sir!
Flo.C
(Flo)
April 1, 2020, 5:22pm
548
anyone who could might help?
DBuit
(DBuit)
April 1, 2020, 5:25pm
549
Hi @Flo.C ,
What do you mean with push through? Is that longpress do you het pop-up? If hat you can set a tap_action to control An entity when you tap/click it.
I Will check the animation maybe i can add something Nice
1 Like
DBuit
(DBuit)
April 1, 2020, 5:27pm
550
I could animate the background color but he uses icons with colors so cant do that.
1 Like
Flo.C
(Flo)
April 1, 2020, 5:36pm
551
Hey @DBuit ,
Thanks for coming back
Sorry for my unprecise question. It was late
My intent is that I simple toggle or âshort pressâ the tile and the cover is simply open or closing. If I need to have it on a certain position, I would can use the âlong pressâ.
So basically like the light tiles
About the animation: If the icons would have no color, would it work then? I like the one with the closing toilet or the fan
Thanks for your support man. Appreciate it!
DBuit
(DBuit)
April 2, 2020, 2:35pm
552
Hi man,
So you could do it like this i think i have no cover to test:
entities:
- title: Navigation
entities:
- entity: cover.demo
name: Cover
tap_action:
action: call-service
service: cover.toggle
service_data:
entity_id: cover.demo
1 Like
Flo.C
(Flo)
April 2, 2020, 6:02pm
553
Thats it!! Perfekt! Thanks a lot.
The only thing is now that the icons are always yellow on the cover tile. Any possibility to change this? So grey when they are closed?
DBuit
(DBuit)
April 2, 2020, 7:14pm
554
Te check out offStates
in documentation on github to fix that
1 Like
Flo.C
(Flo)
April 2, 2020, 7:44pm
555
You Sir are a legend!
One last thing and then Iâll stop (promise)
What else do I need to insert in the code above to have the cover stopped if I toogle it a second time?
I saw that there is cover.stop
But I donât know how to implement it. Do I need a template or something?
DBuit
(DBuit)
April 3, 2020, 7:40am
556
Hi man,
No problem!
If you want that it is more complicated you need to save that it is running or something and if you than tap it it should stop.
I guess you need a script but i donât know how you need to find some HA script master!
@DBuit Hi, is it possible to change the brightness/volume/cover percentage color above the slider of your popup-cards? I have a white background and canât read the percentage anymore. I tried some codes by using inspecting elements, but it didnât work.
I want it to match my text colors in my theme, but the percentages are hardcoded to white.
Also a way to change the icon color when active of the popup-cards? Itâs yellow now but Iâd rather use a color matching my theme.
Darbos
(Darbos)
April 4, 2020, 12:47am
558
Any chance you can share your config, Im having a hard time wrapping my head around thisâŚthank you.
mkhattab
(Pharaohnough)
April 4, 2020, 11:26am
559
@DBuit I am having trouble getting your media_player popup card to work on tap action.
It works if I set tap_action to more-info it shows the standard more-info card on tap but your card only works on long press. Here is my config:
In Lovelace UI root:
media_player.humax_receiver:
card:
entity: media_player.humax_receiver
type: 'custom:media_player-popup-card'
style:
'--iron-icon-fill-color': '#FFF'
align-items: center
background: 'rgba(0, 0, 0, 0.8)'
display: block
flex-direction: column
height: 100%
justify-content: center
left: 0
margin: 0
position: fixed
top: 0
width: 100%
z-index: 999
and the card is as follows:
- entity: media_player.humax_receiver
fullscreen: false
tap_action:
action: more-info
entity: media_player.humax_receiver
popup:
actions:
- icon: 'mdi:skip-previous'
service: media_player.media_previous_track
service_data:
entity_id: this
- icon: 'mdi:volume-mute'
service: media_player.volume_mute
service_data:
entity_id: this
is_volume_muted: true
- icon: 'mdi:skip-next'
service: media_player.media_next_track
service_data:
entity_id: this
scenesInARow: 2
type: 'custom:media_player-popup-card'