thomasloven / lovelace-fold-entity-row

🔹 A foldable row for entities card, containing other rows
MIT License
587 stars 38 forks source link

How bind template-entity-row into fold-entity-row? #138

Closed charoon88 closed 3 years ago

charoon88 commented 3 years ago

Hey!

thanks a lot for these great plugins. This thread was very helpful for my problem. I installed the template-entity-row plugin and it works, but how do I bind the template-entity-row into the header of the fold-entity-row plugin?

I tried this:

- entities:
           - type: custom:template-entity-row
             name: 'Wetterdaten'
             secondary: "von {{states('sensor.time')}} Uhr"
           - type: custom:fold-entity-row
             head: Wetterdaten
             entities:
             - entity: sensor.wupws_uv
             - entity: sensor.wupws_preciprate 
             - entity: sensor.wupws_preciptotal
             - entity: sensor.wupws_windspeed

but it doesn't work.

charoon

Originally posted by @charoon88 in https://github.com/thomasloven/lovelace-fold-entity-row/issues/81#issuecomment-787115711

thomasloven commented 3 years ago

This is detailed in the description of the head: option in the readme.

charoon88 commented 3 years ago

Hi Thomas I read your readme many times, but I can’t find something about including the template-entity-row. i found only the section method.