thomasloven / lovelace-fold-entity-row

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

Swap placement of toggle and expand chevron? #226

Closed Stooovie closed 2 years ago

Stooovie commented 2 years ago

It would be sweet if we could swap the placement of the toggle button and the expand chevron (so, chevron on the left and toggle on the right), so the folding row aligns with other, non-folding toggles in the UI.

thomasloven commented 2 years ago

Duplicate of #179, #150, #123, #119, #66, #65 and #37. I suppose I should add this to the FAQ...

Fold entity row takes a complete entity card row as a header and displays that to the left of an arrow. It cannot modify the row itself.

Also, the main functionality of a fold-entity-row is to fold away and hide rows in lovelace entities cards. Therefore, the main action element - the arrow - should align with the main action element of rows with a different purpose.