Direkt zum Hauptinhalt

IKEA Rodret Fernbedienung Automation YAML

Ganze Automationen als YAML Code

Genutzt wird Zigbee Home Automation, für MQTT scheinen andere Automationen verwendet werden zu müssen

Dimmer hoch

alias: Sobald Dimmer hoch halten
description: Erhöht kontinuierlich die Helligkeit beim Halten der Dimmer-Taste
triggers:
  - device_id: DEVICE ID FERNBEDIENUNG
    domain: zha
    type: remote_button_long_press
    subtype: dim_up
    trigger: device
    id: dimmer_start
  - device_id: DEVICE ID FERNBEDIENUNG
    domain: zha
    type: remote_button_long_release
    subtype: dim_up
    trigger: device
    id: dimmer_stop
conditions: []
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: dimmer_start
        sequence:
          - repeat:
              until:
                - condition: trigger
                  id: dimmer_stop
              sequence:
                - target:
                    device_id: DEVICE ID GLÜHBIRNE
                  data:
                    brightness_step_pct: 8
                  action: light.turn_on
                - delay:
                    milliseconds: 200
mode: restart