hideIcon → hides the icon above the slider / switch
hideState → hides the state above the slider / switch
actions got extra option action which you can set to call-service or fire-dom-event (if not set it will use call-service so existing configuration won’t break)
image option for actions to use image in the action button.
Below example of the hideState and hideIcon and the image in a action button:
i lied man sorry
i forgot something, you can change the style of 1 tile by using conditionalClass option.
If you add a conditionalClass like below it will add this css class to that tile. And than you can add styles for that class.
now i know why it won’t work you want to style one of the card inside the swipe card
but what i said was configuration for the home-kit card but when you start with the swipe-card i cant help.
You do have cardStyle: | for the swipe card but i don’t know if you can get to the element you wanna style.
i am reading the info for the card-mod on github and it looks like you can just add:
card_mod:
style: |
:host {
color: red;
}
In your config to style the card you want. have you tried that?
@DBuit hi there, thanks for your time!
Sadly it seems not working. So it seems I have to try it with a picture elemnt like Matt did:
.
Or do you know another way to get the homeklit button cards into a swipe card?
Do I understand something wrong here? Because if I create a swipe-card normally it looks like this:
And there is no background of the card.
If I try to put the swipe-card in a homekit-card it looks like this:
Thats why i tought that I need to style the homekit-card.
Greetings!
Can someone tell me how to change thickness of the slider part (darker pink part) and how to change the color of this part. Also the smaller part inside…
I want bigger part darker then the inside part…
Used the pink color for better view of the problem
Hi @DBuit ,
after swirling around with other dashboards I’ve come back to use the real thing, your homekit card.
One thing I’m strugling with is the horizontalScroll option. With below code it still breaks the 4th button to the next row on my iPhone.
What am I doing wrong?
Thanks for the tip! Doublechecked, it is open/closed, so that should be ok…
What I do not understand is, why the ‘shutter’ symbols are displayed in Home Assistant, but if I do not define any icons in the frontend it shows the ‘window’ icon instead of the ‘shutter’ icon?!
Your homekit panel card buttons are based on button-card right?
Could you share the configuration of the button-card to appear as your homekit buttons?
Thanks for all your amazing work and help!
Greetings and stay safe!
@DBuit first of all, great work with the homekit panel card and slider card. I’m using these for my wallmounted tablet, but the name label and and other text just is a little bit to small in my case.
I have been searching and trying but was not able to scale the text trough css. Is this even possible?