Fix Hue switch buttons

This commit is contained in:
2021-01-22 21:27:51 +00:00
parent cbfbfc3847
commit 5e40486ff8
2 changed files with 3 additions and 3 deletions

View File

@@ -94,5 +94,5 @@ action:
- "{{ command == 'down-press' }}"
sequence: !input "down-press"
- conditions:
- "{{ command == 'on-hold' }}"
- "{{ command == 'down-hold' }}"
sequence: !input "down-hold"

View File

@@ -57,7 +57,7 @@ action:
- choose:
- conditions: "{{ force_brightness }}"
sequence:
- service: light.toggle
- service: light.turn_on
target: !input light
data:
transition: 1
@@ -107,7 +107,7 @@ action:
brightness_step_pct: -10
transition: 1
- conditions:
- "{{ command == 'on-hold' }}"
- "{{ command == 'down-hold' }}"
sequence:
- repeat:
until: