Schalter für Rollladen, obwohl kein Rollladenschalter dahinter ist

Hallo zusammen, ich habe derzeit unterschiedliche ZigBee Module für die Rollläden im Einsatz. Diese funktionieren auch alle.
Jetzt habe ich die Situation, dass ich ein Dachfenster habe, dass nicht ganz passt. Ich habe hier eine Lösung gefunden um das Dachfenster über HA mit ZigBee zu steuern.
Ich steuere jetzt über zwei potentialfreie Kontakte und würde diese gerne in der Oberfläche gerne analog zu den Rollladenschaltern erstellen. Hat hier jemand eine Idee?



Schalter-Rollladen-03

Einen cover template in der configuration.yaml anlegen

Danke, aber ich verstehe das nicht richtig :frowning:

Hier ist es geschrieben.

1 „Gefällt mir“

Ich habe mir an einer Lösung auch die Zähne ausgebissen. Ich habe es schließlich über eine andere Ansucht gelöst. siehe Foto 1, dahinter liegen skripte die jeweils die Zeit für 70 oder 90 % steuern. Über einen esp werden bei einem elektrischen Gurtwickler die Auf- und Abtaste angesprochen bzw. simuliert.
Zur Erläuterung der yaml code.

Vielleicht hilft es Dir.
Grüße

type: vertical-stack
cards:
  - show_name: true
    show_icon: true
    type: button
    entity: input_boolean.zustand_rollade_flur
    icon: mdi:window-shutter
    tap_action:
      action: none
    hold_action:
      action: none
    name: Status Rollade Flur
    icon_height: 80px
    show_state: true
  - type: custom:mushroom-template-card
    primary: >-
      {% if is_state('input_boolean.zustand_rollade_flur', 'on') %} Unten =
      Runtergefahren
                {% else %} Oben = hochgefahren
                {% endif %}
    secondary: Flur
    icon: >-
      {% if is_state('input_boolean.zustand_rollade_flur', 'on') %}
      mdi:window-shutter
                {% else %} mdi:window-shutter-open
                {% endif %}
    icon_color: |-
      {% if is_state('input_boolean.zustand_rollade_flur', 'on') %} orange
                {% else %} purple
                {% endif %}
    fill_container: false
    tap_action:
      action: none
    hold_action:
      action: none
    double_tap_action:
      action: none
    multiline_secondary: false
    badge_icon: ""
  - type: tile
    entity: script.rollade_flur_hochfahren
    name: Hochfahren
    icon: mdi:window-shutter-open
    show_entity_picture: false
    hide_state: true
    vertical: false
    tap_action:
      action: perform-action
      perform_action: script.rollade_flur_hochfahren
      target: {}
    icon_tap_action:
      action: none
  - type: tile
    entity: script.rollade_flur_runterfahren
    name: Runterfahren
    icon: mdi:window-shutter
    show_entity_picture: false
    hide_state: true
    vertical: false
    icon_tap_action:
      action: none
    tap_action:
      action: perform-action
      perform_action: script.rollade_flur_runterfahren
      target: {}
  - type: tile
    entity: script.rollade_flur_90
    name: Sonne 90%
    icon: mdi:window-shutter
    show_entity_picture: false
    hide_state: true
    vertical: false
    icon_tap_action:
      action: none
    tap_action:
      action: perform-action
      perform_action: script.rollade_flur_90
      target: {}
  - type: tile
    entity: script.rollade_flur_70
    name: Sonne 70%
    icon: mdi:window-shutter
    show_entity_picture: false
    hide_state: true
    vertical: false
    icon_tap_action:
      action: none
    tap_action:
      action: perform-action
      perform_action: script.rollade_flur_70
      target: {}
layout_options:
  grid_columns: 2
  grid_rows: 8