I think I’m doing everything correctly, but unable to confirm - if “head” is an entity, then am I correct to say that options can not be provided to it? Such as different icon, different state_color, etc. The only workaround seems to be to make head a section or an element card?
Example, I’m trying to set state_color for the head, but has no impact:
This screenshot should explain the issue. After recreating the entire card from scratch, I was able to reproduce this issue again. Hopefully, it’s something I’m doing wrong. I also tried changing the padding to a greater value (example: padding: 5); however, it still looks the same.
not sure about your config, but I guess you didn’t write that manually… give the screenshot
the order is somewhat confusing, and there’s the use of the null which is new for me. please try to rewrite this in the right order of things, and see what gives.
the style of the top entities card only handles the top and bottom margins of that card, so has no influence in your config.
btw this is only a section of a larger card, and they’re all done the same way, showing perfectly.:
Thanks. Yes, I did the whole code by hand since I wasn’t sure how to do it using the GUI. I’ll try changing the order of things and removing NULL. I’ll use your example code as a starting point. I’ll post back my results.
@Mariusthvdb, I was able to finally get the code right. It a lot of trial and error before it finally worked for me. Below, is the code that finally worked. I really appreciate your help!
with the last update (20.0.0) I have now a space on the right side if I use the section type (see screenshot) and as well I have to click the arrow. Before it worked as well on the label
Unfortunately, the method for making the fold open and close by clicking on the row has grown unmaintainable and that functionality had to be scrapped.
I am having the same issue, the color of the icon of the head won’t change based on the state.
Were you able to solve this meanwhile? Or has this been identified as a missing feature yet?
Example, the below doesn’t work:
- type: custom:fold-entity-row
head: binary_sensor.template_someone_in_bed
icon: 'mdi:bed'
name: Bed Occupancy
state_color: true <<< this doesn't work
entities:
- domain.name1
- domain.name2
- etc