Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizable icon for expand&close // expand&close by a other entity // Icon position #179

Closed
YvesZH opened this issue Oct 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@YvesZH
Copy link

YvesZH commented Oct 25, 2021

I use some of your Lovelace tools and I am grateful for your great work. Without you my lovelace pannel would be a mess. Now I have a idea as an extension for this row addon:

  • Folder expand or closed by default, can be made dependent on any entitiy (if a condition is true). This is only a default value and can be overridden using the expand-button.
    Setup idea :
type: entities
entities:
  - type: custom:fold-entity-row
    open: entity
       condition_entity: light.ceiling_light
       condition_state: "on"
    entities:
      - light.bed_light
  • A setting would be great where the expand-button could also be displayed to the left of the 'switch'
    a_swap

  • Customizable icon for expand / close (overwrites the default expand-button). A different icon and/or color for both states.
    Example close: (the expand-button is in this example to the left of the switch)
    a_off
    Example expand: (the expand-button changes to yellow after pressing)
    a_on

I hope this is not too complicated and I was able to motivate you for this idea
Thanks a lot

@YvesZH YvesZH added the enhancement New feature or request label Oct 25, 2021
@YvesZH YvesZH changed the title Customizable icon for open/ close & open/ close by a other entity / Icon position Customizable icon for expand&close // expand&close by a other entity // Icon position Oct 25, 2021
@thomasloven
Copy link
Owner

#173
#119
#150

@YvesZH
Copy link
Author

YvesZH commented Oct 26, 2021

@thomasloven Thanks for the answer.
I have a new idea (workarround) about the placement of the "exband-button"(future request #119

  1. the future request "expand&close by a other entity" is being expected (future request Expand based on state #173 )
  2. the user can make a input_bolean
  3. the user can set an icon with the paper-buttons-row on the left on the toggles-switch (or everywhere he like in the lovelace panel)
  4. the only thing that is additionally expected: the option to hide the exband-button

Config example:

type: entities
entities:
  - type: custom:fold-entity-row
     open: entity
       condition_entity: input_boolean.exband
       condition_state: "on"
       hide_exband_button: true
    entities:
      - light.bed_light`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants