Created
May 7, 2024 11:43
-
-
Save trilorian/32cd9702553970561a1614206628c488 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- conditions: | |
# - condition: trigger | |
# id: | |
# - hold-on-zha | |
# sequence: | |
# - repeat: | |
# count: !input helper_max_loops | |
# sequence: | |
# - parallel: | |
# - sequence: !input on_hold_action | |
# - sequence: | |
# - choose: | |
# - conditions: | |
# - condition: trigger | |
# id: | |
# - hold-on-zha | |
# sequence: | |
# - wait_for_trigger: | |
# - platform: event | |
# event_type: zha_event | |
# event_data: | |
# device_id: "{{ zha_remote }}" | |
# command: "stop_with_on_off" | |
# cluster_id: 8 | |
# endpoint_id: 1 | |
# timeout: | |
# milliseconds: !input helper_hold_delay | |
# continue_on_timeout: true | |
# - if: | |
# - condition: template | |
# value_template: "{{ wait.trigger.idx is defined }}" | |
# then: | |
# - stop: button released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment