diff --git a/zigbee2mqtt/z2m-hue-dimmer-switch-configurable.yaml b/zigbee2mqtt/z2m-hue-dimmer-switch-configurable.yaml index 96788dc..1ee7888 100644 --- a/zigbee2mqtt/z2m-hue-dimmer-switch-configurable.yaml +++ b/zigbee2mqtt/z2m-hue-dimmer-switch-configurable.yaml @@ -94,5 +94,5 @@ action: - "{{ command == 'down-press' }}" sequence: !input "down-press" - conditions: - - "{{ command == 'on-hold' }}" + - "{{ command == 'down-hold' }}" sequence: !input "down-hold" diff --git a/zigbee2mqtt/z2m-hue-dimmer-switch-light.yaml b/zigbee2mqtt/z2m-hue-dimmer-switch-light.yaml index 7a552aa..a302b69 100644 --- a/zigbee2mqtt/z2m-hue-dimmer-switch-light.yaml +++ b/zigbee2mqtt/z2m-hue-dimmer-switch-light.yaml @@ -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: