Hi DBuit
Thanks a lot for your hard work, I’m using your light pop-up card and it’s wonderful,
I’m just wondering if we can use custom entity picture instead of icon?
I’ve tried adding it to the code but without success:
@DBuit - This card looks simply amazing, so much appreciation for your work here !!! So I got the light popup kinda working and its great, but now I am playing with the themostate one and I am not sure the example in the readme is fully groking w/. me… So I noticed a lot of your repos have a popup_cards attribute mentioned but its not clear to me if this is a dependency on @thomasloven’s deprecated popupcard or just a namespace conflict between the two projects… Bottom line do you happen to have a simple and complete hello world'ish example for how to use this card in a virgin lovelace install ?
where do we declare these popup_cards: ? Should they go in the root of the ui-lovelace.yaml, just like the decluttering_templates and button_card_templates or do we need to set them in the view they are called in like yaml anchors.
to get a better understanding: do we need to set this on each individual light, or could we create a ‘template’ and use ‘entity’ or ‘this.entity_id’ and use the card on each more-info on light in the config?
Yes they go in the root so not after or inside the views:
Well if you are using browser_mod and implementing this in your own interface it looks like your need to do this for each light but i do not know that maybe.
I made my own card to create a homekit style interface and there you can also use this card and use it for a row of entities but if you can find that in the readme of that card: https://github.com/DBuit/Homekit-panel-card
about the ‘global’ template, would you please consider looking in to that? Would be really cool if this could be done, (if needed maybe in conjunction with the decluttering template) to prevent having to write the exact popup code 43 times
I also made something new i called it rules maybe the name will change but you can template rules and this will be displayed on your home screen to inform you about stuff like how many lights are on, or for me when i need to put the trash outside see screenshot:
So i removed scenes from the card and renamed it toactions.
It can do the same but much more because it uses services now as was suggested by people, you can also add icons to use it more as a button.
No update yet for the pop-up card but i did update the homekit panel card!
I just released an update of the homekit card: https://github.com/DBuit/Homekit-panel-card
What is added/fixed/changes:
Add column support . This is optional but if you wanna use this the yams looks a bit different because you have to name the rows and columns in the readme there will be an example.
Display state info like brightness percentage for lights or last_changed for sensors not after the state (on/off) but in a circle inspired by A different take on designing a Lovelace UI
Custom hold_action. I added the tap_action before and now you can also customize the hold_action the same way
Custom double_tap_action. Just like hold you can also set a double_tap_action. By default if no double_tap is defined it will activate the tap action.
Icon spin. You can set spin: true on your entity and the icon will start spinning when the state == on can be useful for ventilation for example
Small css changes/fixes
Rewriten the readme
With the new columns you can now make in interface like this:
I created a quick new pop-up card after suggested by someone to reuse the light popup for media_player
So it is the same popup card as the lights but now the slider controls your volume of your media_player.
And you can configure extra actions to add more control like next and previous song and play/pause your media_player.