chore: use new triggers and actions syntax (#4)

This commit is contained in:
Damien
2024-11-29 15:19:55 +01:00
committed by GitHub
parent ebd0e14d90
commit b4a69932af
2 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ blueprint:
mode: slider mode: slider
mode: single mode: single
max_exceeded: silent max_exceeded: silent
trigger: triggers:
# RODRET - E2201 # RODRET - E2201
- trigger: event - trigger: event
event_type: zha_event event_type: zha_event
@@ -330,7 +330,7 @@ trigger:
type: action type: action
subtype: "2_long_release" subtype: "2_long_release"
id: release-hold-dots2-z2m-e2213 id: release-hold-dots2-z2m-e2213
action: actions:
- variables: - variables:
on_double_press_exposed: !input on_double_press_exposed on_double_press_exposed: !input on_double_press_exposed
off_double_press_exposed: !input off_double_press_exposed off_double_press_exposed: !input off_double_press_exposed

View File

@@ -71,7 +71,7 @@ blueprint:
mode: slider mode: slider
mode: restart mode: restart
max_exceeded: silent max_exceeded: silent
trigger: triggers:
# RODRET - E2201 # RODRET - E2201
- trigger: event - trigger: event
event_type: zha_event event_type: zha_event
@@ -267,7 +267,7 @@ trigger:
type: action type: action
subtype: "2_long_release" subtype: "2_long_release"
id: release-hold-dots2-z2m-e2213 id: release-hold-dots2-z2m-e2213
action: actions:
- variables: - variables:
helper_force_brightness: !input helper_force_brightness helper_force_brightness: !input helper_force_brightness
helper_hold_delay: 0.05 helper_hold_delay: 0.05