Philips Hue Dimmer Remote - Control up to 5 sets of lights

Tags: #<Tag:0x00007fc4000d7228> #<Tag:0x00007fc4000d6f58>

Requires the Philips Hue Dimmer Remote and at least one light to be controlled.
https://www.philips-hue.com/en-us/p/hue-dimmer-switch/046677473372

Turn on/off light using the remote. Setup up to 5 groups of lights to be controlled by single, double, triple, quadruple, and quintuple pressing the “On” or “Off” buttons. If you setup the optional current input_text, it will control whichever light was turned on most recently with the dimmer buttons.

Forced brightness currently only controls the single press light.

Single press only allows light entities as it is the default dimming control and due to the default brightness setting. Double through Quintuple press support lights and switches.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

blueprint:
  name: Philips Dimmer Remote
  description: 'Control lights with a Philips Hue Dimmer Switch.


    The top "on" button will turn the lights on to the last set brightness

    (unless the force brightness is toggled on in the blueprint).


    Dim up/down buttons will change the brightness smoothly and can be pressed

    and hold until the brightness is satisfactory.


    The bottom "off" button will turn the lights off.

    If defined it will optionally control up to 5 different sets of lights using the double through quintuple press options. Whichever light was turned on last will be controlled by the dimmer buttons.

    '
  domain: automation
  input:
    remote:
      name: Philips Hue Dimmer Switch
      description: Pick either RWL020 (US) or RWL021 (EU)
      selector:
        device:
          integration: zha
          manufacturer: Philips
          model: RWL020
    single_light:
      name: Single Press Light
      description: The light(s) to control with single press
      selector:
        target:
          entity:
            domain: light
    double_light:
      name: (OPTIONAL) Double Press Light
      description: The light(s) to control with double press (can also use switches)
      default: {}
      selector:
        target:
          entity: {}
    triple_light:
      name: (OPTIONAL) Triple Press Light
      description: The light(s) to control with triple press (can also use switches)
      default: {}
      selector:
        target:
          entity: {}
    quadruple_light:
      name: (OPTIONAL) Quadruple Press Light
      description: The light(s) to control with quadruple press (can also use switches)
      default: {}
      selector:
        target:
          entity: {}
    quintuple_light:
      name: (OPTIONAL) Quintuple Press Light
      description: The light(s) to control with quintuple press (can also use switches)
      default: {}
      selector:
        target:
          entity: {}
    force_brightness:
      name: Force turn on brightness
      description:
        'Force the brightness to the set level below, when the "on" button
        on the remote is pushed and lights turn on.'
      default: false
      selector:
        boolean: {}
    brightness:
      name: Brightness
      description: Brightness of the light(s) when turning on
      default: 100
      selector:
        number:
          min: 0.0
          max: 100.0
          mode: slider
          step: 1.0
          unit_of_measurement: "%"
    current_light:
      name: (OPTIONAL) Current Light
      description:
        'Text helper to track the current light to dim. Set for the dimmer controls to change which light they are controlling according to the last one turned on.
        For instance, double press "on" and then the dimmer buttons will control the Double Press Light'
      default:
      selector:
        entity:
          domain: input_text
  source_url: https://github.com/apollo1220/blueprints/blob/main/philips_zigbee_remote.yaml
mode: restart
max_exceeded: silent
variables:
  double_light: !input "double_light"
  triple_light: !input "triple_light"
  quadruple_light: !input "quadruple_light"
  quintuple_light: !input "quintuple_light"
  force_brightness: !input "force_brightness"
  current_light: !input "current_light"
  lights:
    single_light: !input "single_light"
    double_light: !input "double_light"
    triple_light: !input "triple_light"
    quadruple_light: !input "quadruple_light"
    quintuple_light: !input "quintuple_light"
trigger:
  - platform: event
    event_type: zha_event
    event_data:
      device_id: !input "remote"
action:
  - variables:
      command: "{{ trigger.event.data.command }}"
      cluster_id: "{{ trigger.event.data.cluster_id }}"
      endpoint_id: "{{ trigger.event.data.endpoint_id }}"
      args: "{{ trigger.event.data.args }}"
  - choose:
      - conditions:
          - "{{ command == 'on_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
        sequence:
          - choose:
              - conditions: "{{ force_brightness }}"
                sequence:
                  - service: homeassistant.turn_on
                    target: !input "single_light"
                    data:
                      transition: 1
                      brightness_pct: !input "brightness"
            default:
              - service: homeassistant.turn_on
                target: !input "single_light"
                data:
                  transition: 1
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: input_text.set_value
                    target:
                      entity_id: !input "current_light"
                    data:
                      value: single_light
      - conditions:
          - "{{ command == 'on_double_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ double_light != none }}"
        sequence:
          - service: homeassistant.turn_on
            target: !input "double_light"
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: input_text.set_value
                    target:
                      entity_id: !input "current_light"
                    data:
                      value: double_light
      - conditions:
          - "{{ command == 'on_triple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ triple_light != none }}"
        sequence:
          - service: homeassistant.turn_on
            target: !input "triple_light"
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: input_text.set_value
                    target:
                      entity_id: !input "current_light"
                    data:
                      value: triple_light
      - conditions:
          - "{{ command == 'on_quadruple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ quadruple_light != none }}"
        sequence:
          - service: homeassistant.turn_on
            target: !input "quadruple_light"
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: input_text.set_value
                    target:
                      entity_id: !input "current_light"
                    data:
                      value: quadruple_light
      - conditions:
          - "{{ command == 'on_quintuple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ quintuple_light != none }}"
        sequence:
          - service: homeassistant.turn_on
            target: !input "quintuple_light"
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: input_text.set_value
                    target:
                      entity_id: !input "current_light"
                    data:
                      value: quintuple_light
      - conditions:
          - "{{ command == 'off_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
        sequence:
          - service: homeassistant.turn_off
            target: !input "single_light"
            data:
              transition: 1
      - conditions:
          - "{{ command == 'off_double_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ double_light != none }}"
        sequence:
          - service: homeassistant.turn_off
            target: !input "double_light"
      - conditions:
          - "{{ command == 'off_triple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ triple_light != none }}"
        sequence:
          - service: homeassistant.turn_off
            target: !input "triple_light"
      - conditions:
          - "{{ command == 'off_quadruple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ quadruple_light != none }}"
        sequence:
          - service: homeassistant.turn_off
            target: !input "quadruple_light"
      - conditions:
          - "{{ command == 'off_quintuple_press' }}"
          - "{{ cluster_id == 64512 }}"
          - "{{ endpoint_id == 2 }}"
          - "{{ quintuple_light != none }}"
        sequence:
          - service: homeassistant.turn_off
            target: !input "quintuple_light"
      - conditions:
          - "{{ command == 'step' }}"
          - "{{ cluster_id == 8 }}"
          - "{{ endpoint_id == 1 }}"
          - "{{ args == [0, 30, 9] }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: 10
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: 10
                  transition: 1
      - conditions:
          - "{{ command == 'step' }}"
          - "{{ cluster_id == 8 }}"
          - "{{ endpoint_id == 1 }}"
          - "{{ args == [0, 56, 9] }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: 25
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: 25
                  transition: 1
      - conditions:
          - "{{ command == 'up_press' }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: 10
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: 10
                  transition: 1
      - conditions:
          - "{{ command == 'step' }}"
          - "{{ cluster_id == 8 }}"
          - "{{ endpoint_id == 1 }}"
          - "{{ args == [1, 30, 9] }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: -10
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: -10
                  transition: 1
      - conditions:
          - "{{ command == 'step' }}"
          - "{{ cluster_id == 8 }}"
          - "{{ endpoint_id == 1 }}"
          - "{{ args == [1, 56, 9] }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: -25
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: -25
                  transition: 1
      - conditions:
          - "{{ command == 'down_press' }}"
        sequence:
          - choose:
              - conditions: "{{ current_light != none }}"
                sequence:
                  - service: light.turn_on
                    target: "{{ lights[states(current_light)] }}"
                    data:
                      brightness_step_pct: -10
                      transition: 1
            default:
              - service: light.turn_on
                target: !input "single_light"
                data:
                  brightness_step_pct: -10
                  transition: 1
3 Likes

I have the multi presses working to turn on and off different lights but for some reason input_text is not working to dim the lights that were selected?

How did you define your input_text?

So it is at least setting the input_text properly for the single press. If you double press the On button, does your input_text change to ‘double_light’? (‘triple_light’, ‘quadruple_light’, ‘quintuple_light’)

That’s all working but no dimming.

I’m starting to run out of ideas. Are all the entities that you selected lights? No switches, devices or areas

its a mixture of 2 ZHA groups, a device, and 2 light groups?

That is likely the issue. The on/off uses the general home assistant on/off calls which work for basically anything. But the dimming has to use the light domain, so if there is anything in the target which isn’t a light it probably won’t work.

It should still work for the light groups and zha groups I would assume? They are still lights.

You’re right. I had some time to try it out. I setup a light group and assigned that, everything worked fine with that in place. I’m out of ideas why this isn’t working for you. Do you get any errors in your logs? If you go through the automation trace after hitting the dim button, does that give any clues as to what is going wrong?

What version of the Hue remote do you have I know there are different model #s for EU and US, here is my device info. The original Hue remote blueprint Frenck made didnt work with my model I had to change it in the blueprint to allow it so maybe thats it?

Device info
RWL020
by Philips
zzh
Firmware: 0x420045b6
Zigbee info
IEEE: 00:17:88:01:08:74:b2:03
Nwk: 0xbbcb
Device Type: EndDevice
LQI: 81
RSSI: Unknown
Last Seen: 2021-07-08T23:59:26
Power Source: Battery or Unknown
Quirk: zhaquirks.philips.rwlfirstgen.PhilipsRWLFirstGen

Here is the Trace output of me trying to press the “brightness up” button

{
  "trace": {
    "last_step": "action/1/choose/13/conditions/0",
    "run_id": "1184",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2021-07-09T04:59:26.455496+00:00",
      "finish": "2021-07-09T04:59:26.467066+00:00"
    },
    "domain": "automation",
    "item_id": "1621472710252",
    "trigger": "event 'zha_event'",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2021-07-09T04:59:26.455719+00:00",
          "changed_variables": {
            "double_light": {
              "entity_id": "light.master_bath_group_0x0006"
            },
            "triple_light": {
              "entity_id": "light.master_closet"
            },
            "quadruple_light": {
              "entity_id": "light.hallway_lights"
            },
            "quintuple_light": {
              "entity_id": "light.upstairs_lights"
            },
            "force_brightness": false,
            "current_light": "input_text.current_light",
            "lights": {
              "single_light": {
                "entity_id": "light.master_bedroom_zha_group_0x0008"
              },
              "double_light": {
                "entity_id": "light.master_bath_group_0x0006"
              },
              "triple_light": {
                "entity_id": "light.master_closet"
              },
              "quadruple_light": {
                "entity_id": "light.hallway_lights"
              },
              "quintuple_light": {
                "entity_id": "light.upstairs_lights"
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "platform": "event",
              "event": {
                "event_type": "zha_event",
                "data": {
                  "device_ieee": "00:17:88:01:08:74:b2:03",
                  "unique_id": "00:17:88:01:08:74:b2:03:2:0xfc00",
                  "device_id": "196b46153cc2f9e0b6250a13eea23cf7",
                  "endpoint_id": 2,
                  "cluster_id": 64512,
                  "command": "up_press",
                  "args": {
                    "button": "up",
                    "press_type": "press",
                    "command_id": 0,
                    "args": [
                      2,
                      3145728,
                      0,
                      33,
                      0,
                      0
                    ]
                  }
                },
                "origin": "LOCAL",
                "time_fired": "2021-07-09T04:59:26.454624+00:00",
                "context": {
                  "id": "159e09b880b96b3509b751bb390c94dc",
                  "parent_id": null,
                  "user_id": null
                }
              },
              "description": "event 'zha_event'"
            }
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2021-07-09T04:59:26.456989+00:00",
          "changed_variables": {
            "context": {
              "id": "7cf25a0a0589d994e03162063c906b5a",
              "parent_id": "159e09b880b96b3509b751bb390c94dc",
              "user_id": null
            }
          }
        }
      ],
      "action/1": [
        {
          "path": "action/1",
          "timestamp": "2021-07-09T04:59:26.457684+00:00",
          "changed_variables": {
            "command": "up_press",
            "cluster_id": 64512,
            "endpoint_id": 2,
            "args": {
              "button": "up",
              "press_type": "press",
              "command_id": 0,
              "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
              ]
            }
          }
        }
      ],
      "action/1/choose/0": [
        {
          "path": "action/1/choose/0",
          "timestamp": "2021-07-09T04:59:26.457766+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/0/conditions/0": [
        {
          "path": "action/1/choose/0/conditions/0",
          "timestamp": "2021-07-09T04:59:26.457804+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/1": [
        {
          "path": "action/1/choose/1",
          "timestamp": "2021-07-09T04:59:26.457948+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/1/conditions/0": [
        {
          "path": "action/1/choose/1/conditions/0",
          "timestamp": "2021-07-09T04:59:26.457984+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/2": [
        {
          "path": "action/1/choose/2",
          "timestamp": "2021-07-09T04:59:26.458103+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/2/conditions/0": [
        {
          "path": "action/1/choose/2/conditions/0",
          "timestamp": "2021-07-09T04:59:26.458139+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/3": [
        {
          "path": "action/1/choose/3",
          "timestamp": "2021-07-09T04:59:26.458273+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/3/conditions/0": [
        {
          "path": "action/1/choose/3/conditions/0",
          "timestamp": "2021-07-09T04:59:26.458308+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/4": [
        {
          "path": "action/1/choose/4",
          "timestamp": "2021-07-09T04:59:26.458424+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/4/conditions/0": [
        {
          "path": "action/1/choose/4/conditions/0",
          "timestamp": "2021-07-09T04:59:26.458460+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/5": [
        {
          "path": "action/1/choose/5",
          "timestamp": "2021-07-09T04:59:26.462600+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/5/conditions/0": [
        {
          "path": "action/1/choose/5/conditions/0",
          "timestamp": "2021-07-09T04:59:26.462680+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/6": [
        {
          "path": "action/1/choose/6",
          "timestamp": "2021-07-09T04:59:26.462837+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/6/conditions/0": [
        {
          "path": "action/1/choose/6/conditions/0",
          "timestamp": "2021-07-09T04:59:26.462874+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/7": [
        {
          "path": "action/1/choose/7",
          "timestamp": "2021-07-09T04:59:26.463000+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/7/conditions/0": [
        {
          "path": "action/1/choose/7/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463036+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/8": [
        {
          "path": "action/1/choose/8",
          "timestamp": "2021-07-09T04:59:26.463155+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/8/conditions/0": [
        {
          "path": "action/1/choose/8/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463190+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/9": [
        {
          "path": "action/1/choose/9",
          "timestamp": "2021-07-09T04:59:26.463305+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/9/conditions/0": [
        {
          "path": "action/1/choose/9/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463340+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/10": [
        {
          "path": "action/1/choose/10",
          "timestamp": "2021-07-09T04:59:26.463454+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/10/conditions/0": [
        {
          "path": "action/1/choose/10/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463487+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/11": [
        {
          "path": "action/1/choose/11",
          "timestamp": "2021-07-09T04:59:26.463646+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/11/conditions/0": [
        {
          "path": "action/1/choose/11/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463707+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/12": [
        {
          "path": "action/1/choose/12",
          "timestamp": "2021-07-09T04:59:26.463835+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/12/conditions/0": [
        {
          "path": "action/1/choose/12/conditions/0",
          "timestamp": "2021-07-09T04:59:26.463869+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/13": [
        {
          "path": "action/1/choose/13",
          "timestamp": "2021-07-09T04:59:26.463980+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/13/conditions/0": [
        {
          "path": "action/1/choose/13/conditions/0",
          "timestamp": "2021-07-09T04:59:26.464014+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ]
    },
    "config": {
      "mode": "restart",
      "max_exceeded": "silent",
      "variables": {
        "double_light": {
          "entity_id": "light.master_bath_group_0x0006"
        },
        "triple_light": {
          "entity_id": "light.master_closet"
        },
        "quadruple_light": {
          "entity_id": "light.hallway_lights"
        },
        "quintuple_light": {
          "entity_id": "light.upstairs_lights"
        },
        "force_brightness": false,
        "current_light": "input_text.current_light",
        "lights": {
          "single_light": {
            "entity_id": "light.master_bedroom_zha_group_0x0008"
          },
          "double_light": {
            "entity_id": "light.master_bath_group_0x0006"
          },
          "triple_light": {
            "entity_id": "light.master_closet"
          },
          "quadruple_light": {
            "entity_id": "light.hallway_lights"
          },
          "quintuple_light": {
            "entity_id": "light.upstairs_lights"
          }
        }
      },
      "trigger": [
        {
          "platform": "event",
          "event_type": "zha_event",
          "event_data": {
            "device_id": "196b46153cc2f9e0b6250a13eea23cf7"
          }
        }
      ],
      "action": [
        {
          "variables": {
            "command": "{{ trigger.event.data.command }}",
            "cluster_id": "{{ trigger.event.data.cluster_id }}",
            "endpoint_id": "{{ trigger.event.data.endpoint_id }}",
            "args": "{{ trigger.event.data.args }}"
          }
        },
        {
          "choose": [
            {
              "conditions": [
                "{{ command == 'on_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ force_brightness }}",
                      "sequence": [
                        {
                          "service": "homeassistant.turn_on",
                          "target": {
                            "entity_id": "light.master_bedroom_zha_group_0x0008"
                          },
                          "data": {
                            "transition": 1,
                            "brightness_pct": 100
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "homeassistant.turn_on",
                      "target": {
                        "entity_id": "light.master_bedroom_zha_group_0x0008"
                      },
                      "data": {
                        "transition": 1
                      }
                    }
                  ]
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.current_light"
                          },
                          "data": {
                            "value": "single_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'on_double_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ double_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_on",
                  "target": {
                    "entity_id": "light.master_bath_group_0x0006"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.current_light"
                          },
                          "data": {
                            "value": "double_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'on_triple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ triple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_on",
                  "target": {
                    "entity_id": "light.master_closet"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.current_light"
                          },
                          "data": {
                            "value": "triple_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'on_quadruple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ quadruple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_on",
                  "target": {
                    "entity_id": "light.hallway_lights"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.current_light"
                          },
                          "data": {
                            "value": "quadruple_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'on_quintuple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ quintuple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_on",
                  "target": {
                    "entity_id": "light.upstairs_lights"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.current_light"
                          },
                          "data": {
                            "value": "quintuple_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'off_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_off",
                  "target": {
                    "entity_id": "light.master_bedroom_zha_group_0x0008"
                  },
                  "data": {
                    "transition": 1
                  }
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'off_double_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ double_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_off",
                  "target": {
                    "entity_id": "light.master_bath_group_0x0006"
                  }
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'off_triple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ triple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_off",
                  "target": {
                    "entity_id": "light.master_closet"
                  }
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'off_quadruple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ quadruple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_off",
                  "target": {
                    "entity_id": "light.hallway_lights"
                  }
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'off_quintuple_press' }}",
                "{{ cluster_id == 64512 }}",
                "{{ endpoint_id == 2 }}",
                "{{ quintuple_light != none }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.turn_off",
                  "target": {
                    "entity_id": "light.upstairs_lights"
                  }
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step' }}",
                "{{ cluster_id == 8 }}",
                "{{ endpoint_id == 1 }}",
                "{{ args == [0, 30, 9] }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": 10,
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "entity_id": "light.master_bedroom_zha_group_0x0008"
                      },
                      "data": {
                        "brightness_step_pct": 10,
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step' }}",
                "{{ cluster_id == 8 }}",
                "{{ endpoint_id == 1 }}",
                "{{ args == [0, 56, 9] }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": 25,
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "entity_id": "light.master_bedroom_zha_group_0x0008"
                      },
                      "data": {
                        "brightness_step_pct": 25,
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step' }}",
                "{{ cluster_id == 8 }}",
                "{{ endpoint_id == 1 }}",
                "{{ args == [1, 30, 9] }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": -10,
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "entity_id": "light.master_bedroom_zha_group_0x0008"
                      },
                      "data": {
                        "brightness_step_pct": -10,
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step' }}",
                "{{ cluster_id == 8 }}",
                "{{ endpoint_id == 1 }}",
                "{{ args == [1, 56, 9] }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": -25,
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "entity_id": "light.master_bedroom_zha_group_0x0008"
                      },
                      "data": {
                        "brightness_step_pct": -25,
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "id": "1621472710252",
      "alias": "ZHA - Philips Dimmer Remote Master Bedroom",
      "description": ""
    },
    "blueprint_inputs": {
      "id": "1621472710252",
      "alias": "ZHA - Philips Dimmer Remote Master Bedroom",
      "description": "",
      "use_blueprint": {
        "path": "apollo1220/philips_zigbee_remote.yaml",
        "input": {
          "remote": "196b46153cc2f9e0b6250a13eea23cf7",
          "single_light": {
            "entity_id": "light.master_bedroom_zha_group_0x0008"
          },
          "double_light": {
            "entity_id": "light.master_bath_group_0x0006"
          },
          "quadruple_light": {
            "entity_id": "light.hallway_lights"
          },
          "quintuple_light": {
            "entity_id": "light.upstairs_lights"
          },
          "current_light": "input_text.current_light",
          "triple_light": {
            "entity_id": "light.master_closet"
          }
        }
      }
    },
    "context": {
      "id": "7cf25a0a0589d994e03162063c906b5a",
      "parent_id": "159e09b880b96b3509b751bb390c94dc",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "ZHA - Philips Dimmer Remote Master Bedroom",
      "message": "has been triggered by event 'zha_event'",
      "source": "event 'zha_event'",
      "entity_id": "automation.philips_dimmer_remote",
      "context_id": "7cf25a0a0589d994e03162063c906b5a",
      "when": "2021-07-09T04:59:26.455913+00:00",
      "domain": "automation"
    }
  ]
}

That is very interesting. We have the same model device, but for some reason my dim commands are ‘step’ while yours is ‘up_press’ and I’m assuming ‘down_press’ for decreasing brightness. I’ve updated the blueprint to also support those commands. If after updating increasing brightness works for you but decreasing doesn’t then send me the Trace output for “brightness down” button because I’m just guessing that the command is ‘down_press’ based on the “brightness up” command.

I will try this when I get home today, are our firmware’s the same?

Yes the reported firmware matches which is strange why there would be a difference. But regardless, having both supported will make the blueprint better, whatever the reason is for the difference.

Its working now! thank you for your help!

1 Like

Imported this Blueprint but when I go to pick a device it says no device found. I have two Philips Hue Dimmer switches. What am I doing wrong?

You probably have the other model of the dimmer. So you’ll just have to change the model filter