Courant d'air 🍃

  • 2 Posts
  • 97 Comments
Joined 2 years ago
cake
Cake day: May 30th, 2024

help-circle









  • I use auto-entities, stack-in-card and mushroom:

    Everything is compact and I can overview everything quickly. Here everything is closed because it’s night here but when they are open they show “open xx%”. Also when I double tap they go to 10% which almost closes them but lets a little bit of light pass so it’s not too dark (I use it mainly when it’s hot outside and the sun directly hit the blind).

    Here is the card yaml:

    type: custom:auto-entities
    card:
      type: custom:stack-in-card
    card_param: cards
    filter:
      template: |
        [{% for e in states.cover %}
              {
                'type': 'custom:mushroom-cover-card',
                'entity': '{{ e.entity_id }}',
                'name': '{{ device_attr(e.entity_id, "name").removeprefix("Volet ") }}',
                'layout': 'horizontal',
                'show_buttons_control': 'true',
                'show_position_control': 'true',
                'double_tap_action': {
                  'action': 'perform-action',
                  'perform_action': 'cover.set_cover_position',
                  'target': { 'device_id': '{{ device_id(e.entity_id) }}' },
                  'data': { 'position': 10 }
                }
              },
        {% endfor %}]
    sort:
      method: friendly_name