Philips Hue Tap Dial Switch - ZHA

I can’t get the buttons to work. Pressing them raises an event in the trace of the automation, but ‘no action is taken’, and the input_text helper remains unchanged. How can I debug this?

The trace is the best way to debug. If you can’t figure it out you can export the trace and post here and I can take a look at it.

Thanks!

I’m trying to use the blueprint to dim and switch on and off lights. I’ve selected two lights (earlier I tried four, but that didn’t work, so I started over). I’m expecting the buttons to select the light, and the dial to dim them. Dimming only works on the first light, and the input_text helper remains unknown (I suppose that’s the default value).
I’ve installed it yesterday using your repository, so it should be using the latest version.

Edit: full trace below.

When looking at the trace, at the top right is a menu where you can download the full trace
image

I see.

{
  "trace": {
    "last_step": "action/1/choose/5/conditions/0",
    "run_id": "4bb1d7d27dcd9d95bc2435b7750d6d55",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2023-09-20T03:53:15.063787+00:00",
      "finish": "2023-09-20T03:53:15.081563+00:00"
    },
    "domain": "automation",
    "item_id": "1695149249296",
    "trigger": "event 'zha_event'",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-09-20T03:53:15.063880+00:00",
          "changed_variables": {
            "first_light": {
              "device_id": "97da4c3a46483b7baa486af45ba16255"
            },
            "second_light": {
              "device_id": "b36b95fa649b56b817471d76a241268a"
            },
            "third_light": {},
            "forth_light": {},
            "current_light": "input_text.hue_tap_dial_selected_light",
            "dim_scale": 1,
            "lights": {
              "first_light": {
                "device_id": "97da4c3a46483b7baa486af45ba16255"
              },
              "second_light": {
                "device_id": "b36b95fa649b56b817471d76a241268a"
              },
              "third_light": {},
              "forth_light": {}
            },
            "this": {
              "entity_id": "automation.philips_tap_dial_switch",
              "state": "on",
              "attributes": {
                "id": "1695149249296",
                "last_triggered": "2023-09-19T18:50:50.231522+00:00",
                "mode": "restart",
                "current": 0,
                "friendly_name": "Philips Tap Dial Switch"
              },
              "last_changed": "2023-09-19T18:48:34.643273+00:00",
              "last_updated": "2023-09-19T18:50:50.238554+00:00",
              "context": {
                "id": "01HAQCFRZQP9E85CFX03B3S0X2",
                "parent_id": "01HAQCFRZPAD96FMJZ90H8DS67",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "event",
              "event": {
                "event_type": "zha_event",
                "data": {
                  "device_ieee": "00:17:88:01:0d:7c:b6:31",
                  "unique_id": "00:17:88:01:0d:7c:b6:31:1:0x0005",
                  "device_id": "f02c01cf31f0a64c01246ac64d25814b",
                  "endpoint_id": 1,
                  "cluster_id": 5,
                  "command": "recall",
                  "args": [
                    41098,
                    1
                  ],
                  "params": {
                    "group_id": 41098,
                    "scene_id": 1,
                    "transition_time": null
                  }
                },
                "origin": "LOCAL",
                "time_fired": "2023-09-20T03:53:15.063347+00:00",
                "context": {
                  "id": "01HARBGZ1QH38WE4F143287RJZ",
                  "parent_id": null,
                  "user_id": null
                }
              },
              "description": "event 'zha_event'"
            }
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-09-20T03:53:15.069100+00:00",
          "changed_variables": {
            "context": {
              "id": "01HARBGZ1QXS55VXR0HMSMTTRK",
              "parent_id": "01HARBGZ1QH38WE4F143287RJZ",
              "user_id": null
            }
          }
        }
      ],
      "action/1": [
        {
          "path": "action/1",
          "timestamp": "2023-09-20T03:53:15.075660+00:00",
          "changed_variables": {
            "command": "recall",
            "args": [
              41098,
              1
            ],
            "params": {
              "group_id": 41098,
              "scene_id": 1,
              "transition_time": null
            },
            "step_size": "",
            "step_mode": "",
            "scene": ""
          }
        }
      ],
      "action/1/choose/0": [
        {
          "path": "action/1/choose/0",
          "timestamp": "2023-09-20T03:53:15.075828+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/0/conditions/0": [
        {
          "path": "action/1/choose/0/conditions/0",
          "timestamp": "2023-09-20T03:53:15.075886+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/0/conditions/1": [
        {
          "path": "action/1/choose/0/conditions/1",
          "timestamp": "2023-09-20T03:53:15.076094+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/1": [
        {
          "path": "action/1/choose/1",
          "timestamp": "2023-09-20T03:53:15.076285+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/1/conditions/0": [
        {
          "path": "action/1/choose/1/conditions/0",
          "timestamp": "2023-09-20T03:53:15.076334+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/1": [
        {
          "path": "action/1/choose/1/conditions/1",
          "timestamp": "2023-09-20T03:53:15.076476+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/2": [
        {
          "path": "action/1/choose/1/conditions/2",
          "timestamp": "2023-09-20T03:53:15.076624+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/2": [
        {
          "path": "action/1/choose/2",
          "timestamp": "2023-09-20T03:53:15.076795+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/2/conditions/0": [
        {
          "path": "action/1/choose/2/conditions/0",
          "timestamp": "2023-09-20T03:53:15.076844+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/1": [
        {
          "path": "action/1/choose/2/conditions/1",
          "timestamp": "2023-09-20T03:53:15.076975+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/2": [
        {
          "path": "action/1/choose/2/conditions/2",
          "timestamp": "2023-09-20T03:53:15.077123+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/3": [
        {
          "path": "action/1/choose/3",
          "timestamp": "2023-09-20T03:53:15.077288+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/3/conditions/0": [
        {
          "path": "action/1/choose/3/conditions/0",
          "timestamp": "2023-09-20T03:53:15.077333+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/1": [
        {
          "path": "action/1/choose/3/conditions/1",
          "timestamp": "2023-09-20T03:53:15.077461+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/2": [
        {
          "path": "action/1/choose/3/conditions/2",
          "timestamp": "2023-09-20T03:53:15.077598+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/4": [
        {
          "path": "action/1/choose/4",
          "timestamp": "2023-09-20T03:53:15.077763+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/4/conditions/0": [
        {
          "path": "action/1/choose/4/conditions/0",
          "timestamp": "2023-09-20T03:53:15.077809+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/5": [
        {
          "path": "action/1/choose/5",
          "timestamp": "2023-09-20T03:53:15.077996+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/5/conditions/0": [
        {
          "path": "action/1/choose/5/conditions/0",
          "timestamp": "2023-09-20T03:53:15.078161+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ]
    },
    "config": {
      "mode": "restart",
      "max_exceeded": "silent",
      "variables": {
        "first_light": {
          "device_id": "97da4c3a46483b7baa486af45ba16255"
        },
        "second_light": {
          "device_id": "b36b95fa649b56b817471d76a241268a"
        },
        "third_light": {},
        "forth_light": {},
        "current_light": "input_text.hue_tap_dial_selected_light",
        "dim_scale": 1,
        "lights": {
          "first_light": {
            "device_id": "97da4c3a46483b7baa486af45ba16255"
          },
          "second_light": {
            "device_id": "b36b95fa649b56b817471d76a241268a"
          },
          "third_light": {},
          "forth_light": {}
        }
      },
      "trigger": [
        {
          "platform": "event",
          "event_type": "zha_event",
          "event_data": {
            "device_id": "f02c01cf31f0a64c01246ac64d25814b"
          }
        }
      ],
      "action": [
        {
          "variables": {
            "command": "{{ trigger.event.data.command }}",
            "args": "{% if (trigger.event.data.args is defined) %}{{trigger.event.data.args}}{% endif %}",
            "params": "{% if (trigger.event.data.params is defined) %}{{trigger.event.data.params}}{% endif %}",
            "step_size": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_size is defined) %}{{trigger.event.data.params.step_size}}{% endif %}",
            "step_mode": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_mode is defined) %}{{trigger.event.data.params.step_mode}}{% endif %}",
            "scene": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.scene is defined) %}{{trigger.event.data.params.scene}}{% endif %}"
          }
        },
        {
          "choose": [
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ scene == 1 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": "97da4c3a46483b7baa486af45ba16255"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "first_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ second_light != none }}",
                "{{ scene == 0 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": "b36b95fa649b56b817471d76a241268a"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "second_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ third_light != none }}",
                "{{ scene == 5 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "third_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ forth_light != none }}",
                "{{ scene == 4 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "forth_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Up' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": "97da4c3a46483b7baa486af45ba16255"
                      },
                      "data": {
                        "brightness_step_pct": "{{ step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Down' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ -step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": "97da4c3a46483b7baa486af45ba16255"
                      },
                      "data": {
                        "brightness_step_pct": "{{ -step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "id": "1695149249296",
      "alias": "Philips Tap Dial Switch",
      "description": ""
    },
    "blueprint_inputs": {
      "id": "1695149249296",
      "alias": "Philips Tap Dial Switch",
      "description": "",
      "use_blueprint": {
        "path": "apollo1220/philips_zigbee_dial.yaml",
        "input": {
          "remote": "f02c01cf31f0a64c01246ac64d25814b",
          "first_light": {
            "device_id": "97da4c3a46483b7baa486af45ba16255"
          },
          "second_light": {
            "device_id": "b36b95fa649b56b817471d76a241268a"
          },
          "current_light": "input_text.hue_tap_dial_selected_light"
        }
      }
    },
    "context": {
      "id": "01HARBGZ1QXS55VXR0HMSMTTRK",
      "parent_id": "01HARBGZ1QH38WE4F143287RJZ",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Philips Tap Dial Switch",
      "message": "triggered by event 'zha_event'",
      "source": "event 'zha_event'",
      "entity_id": "automation.philips_tap_dial_switch",
      "context_id": "01HARBGZ1QXS55VXR0HMSMTTRK",
      "when": 1695181995.064039,
      "domain": "automation"
    }
  ]
}
{
  "trace": {
    "last_step": "action/1/choose/5/conditions/0",
    "run_id": "6522cb3c438f655fdb239f66b7e0fc63",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2023-09-20T03:53:25.748288+00:00",
      "finish": "2023-09-20T03:53:25.761559+00:00"
    },
    "domain": "automation",
    "item_id": "1695149249296",
    "trigger": "event 'zha_event'",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-09-20T03:53:25.748385+00:00",
          "changed_variables": {
            "first_light": {
              "device_id": "97da4c3a46483b7baa486af45ba16255"
            },
            "second_light": {
              "device_id": "b36b95fa649b56b817471d76a241268a"
            },
            "third_light": {},
            "forth_light": {},
            "current_light": "input_text.hue_tap_dial_selected_light",
            "dim_scale": 1,
            "lights": {
              "first_light": {
                "device_id": "97da4c3a46483b7baa486af45ba16255"
              },
              "second_light": {
                "device_id": "b36b95fa649b56b817471d76a241268a"
              },
              "third_light": {},
              "forth_light": {}
            },
            "this": {
              "entity_id": "automation.philips_tap_dial_switch",
              "state": "on",
              "attributes": {
                "id": "1695149249296",
                "last_triggered": "2023-09-20T03:53:15.064071+00:00",
                "mode": "restart",
                "current": 0,
                "friendly_name": "Philips Tap Dial Switch"
              },
              "last_changed": "2023-09-19T18:48:34.643273+00:00",
              "last_updated": "2023-09-20T03:53:15.078459+00:00",
              "context": {
                "id": "01HARBGZ1QXS55VXR0HMSMTTRK",
                "parent_id": "01HARBGZ1QH38WE4F143287RJZ",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "event",
              "event": {
                "event_type": "zha_event",
                "data": {
                  "device_ieee": "00:17:88:01:0d:7c:b6:31",
                  "unique_id": "00:17:88:01:0d:7c:b6:31:1:0x0005",
                  "device_id": "f02c01cf31f0a64c01246ac64d25814b",
                  "endpoint_id": 1,
                  "cluster_id": 5,
                  "command": "recall",
                  "args": [
                    41098,
                    0
                  ],
                  "params": {
                    "group_id": 41098,
                    "scene_id": 0,
                    "transition_time": null
                  }
                },
                "origin": "LOCAL",
                "time_fired": "2023-09-20T03:53:25.747620+00:00",
                "context": {
                  "id": "01HARBH9FK3E6NJH9SBQKZ65HT",
                  "parent_id": null,
                  "user_id": null
                }
              },
              "description": "event 'zha_event'"
            }
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-09-20T03:53:25.752028+00:00",
          "changed_variables": {
            "context": {
              "id": "01HARBH9FMZTVGGE51FSZ9MMY3",
              "parent_id": "01HARBH9FK3E6NJH9SBQKZ65HT",
              "user_id": null
            }
          }
        }
      ],
      "action/1": [
        {
          "path": "action/1",
          "timestamp": "2023-09-20T03:53:25.753849+00:00",
          "changed_variables": {
            "command": "recall",
            "args": [
              41098,
              0
            ],
            "params": {
              "group_id": 41098,
              "scene_id": 0,
              "transition_time": null
            },
            "step_size": "",
            "step_mode": "",
            "scene": ""
          }
        }
      ],
      "action/1/choose/0": [
        {
          "path": "action/1/choose/0",
          "timestamp": "2023-09-20T03:53:25.754005+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/0/conditions/0": [
        {
          "path": "action/1/choose/0/conditions/0",
          "timestamp": "2023-09-20T03:53:25.754131+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/0/conditions/1": [
        {
          "path": "action/1/choose/0/conditions/1",
          "timestamp": "2023-09-20T03:53:25.754359+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/1": [
        {
          "path": "action/1/choose/1",
          "timestamp": "2023-09-20T03:53:25.754573+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/1/conditions/0": [
        {
          "path": "action/1/choose/1/conditions/0",
          "timestamp": "2023-09-20T03:53:25.754634+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/1": [
        {
          "path": "action/1/choose/1/conditions/1",
          "timestamp": "2023-09-20T03:53:25.754797+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/2": [
        {
          "path": "action/1/choose/1/conditions/2",
          "timestamp": "2023-09-20T03:53:25.754965+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/2": [
        {
          "path": "action/1/choose/2",
          "timestamp": "2023-09-20T03:53:25.757091+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/2/conditions/0": [
        {
          "path": "action/1/choose/2/conditions/0",
          "timestamp": "2023-09-20T03:53:25.757207+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/1": [
        {
          "path": "action/1/choose/2/conditions/1",
          "timestamp": "2023-09-20T03:53:25.757404+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/2": [
        {
          "path": "action/1/choose/2/conditions/2",
          "timestamp": "2023-09-20T03:53:25.757587+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/3": [
        {
          "path": "action/1/choose/3",
          "timestamp": "2023-09-20T03:53:25.757797+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/3/conditions/0": [
        {
          "path": "action/1/choose/3/conditions/0",
          "timestamp": "2023-09-20T03:53:25.757859+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/1": [
        {
          "path": "action/1/choose/3/conditions/1",
          "timestamp": "2023-09-20T03:53:25.758030+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/2": [
        {
          "path": "action/1/choose/3/conditions/2",
          "timestamp": "2023-09-20T03:53:25.758262+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/4": [
        {
          "path": "action/1/choose/4",
          "timestamp": "2023-09-20T03:53:25.758472+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/4/conditions/0": [
        {
          "path": "action/1/choose/4/conditions/0",
          "timestamp": "2023-09-20T03:53:25.758533+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/5": [
        {
          "path": "action/1/choose/5",
          "timestamp": "2023-09-20T03:53:25.758734+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/5/conditions/0": [
        {
          "path": "action/1/choose/5/conditions/0",
          "timestamp": "2023-09-20T03:53:25.758793+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ]
    },
    "config": {
      "mode": "restart",
      "max_exceeded": "silent",
      "variables": {
        "first_light": {
          "device_id": "97da4c3a46483b7baa486af45ba16255"
        },
        "second_light": {
          "device_id": "b36b95fa649b56b817471d76a241268a"
        },
        "third_light": {},
        "forth_light": {},
        "current_light": "input_text.hue_tap_dial_selected_light",
        "dim_scale": 1,
        "lights": {
          "first_light": {
            "device_id": "97da4c3a46483b7baa486af45ba16255"
          },
          "second_light": {
            "device_id": "b36b95fa649b56b817471d76a241268a"
          },
          "third_light": {},
          "forth_light": {}
        }
      },
      "trigger": [
        {
          "platform": "event",
          "event_type": "zha_event",
          "event_data": {
            "device_id": "f02c01cf31f0a64c01246ac64d25814b"
          }
        }
      ],
      "action": [
        {
          "variables": {
            "command": "{{ trigger.event.data.command }}",
            "args": "{% if (trigger.event.data.args is defined) %}{{trigger.event.data.args}}{% endif %}",
            "params": "{% if (trigger.event.data.params is defined) %}{{trigger.event.data.params}}{% endif %}",
            "step_size": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_size is defined) %}{{trigger.event.data.params.step_size}}{% endif %}",
            "step_mode": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_mode is defined) %}{{trigger.event.data.params.step_mode}}{% endif %}",
            "scene": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.scene is defined) %}{{trigger.event.data.params.scene}}{% endif %}"
          }
        },
        {
          "choose": [
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ scene == 1 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": "97da4c3a46483b7baa486af45ba16255"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "first_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ second_light != none }}",
                "{{ scene == 0 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": "b36b95fa649b56b817471d76a241268a"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "second_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ third_light != none }}",
                "{{ scene == 5 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "third_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ forth_light != none }}",
                "{{ scene == 4 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.hue_tap_dial_selected_light"
                          },
                          "data": {
                            "value": "forth_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Up' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": "97da4c3a46483b7baa486af45ba16255"
                      },
                      "data": {
                        "brightness_step_pct": "{{ step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Down' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ -step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": "97da4c3a46483b7baa486af45ba16255"
                      },
                      "data": {
                        "brightness_step_pct": "{{ -step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "id": "1695149249296",
      "alias": "Philips Tap Dial Switch",
      "description": ""
    },
    "blueprint_inputs": {
      "id": "1695149249296",
      "alias": "Philips Tap Dial Switch",
      "description": "",
      "use_blueprint": {
        "path": "apollo1220/philips_zigbee_dial.yaml",
        "input": {
          "remote": "f02c01cf31f0a64c01246ac64d25814b",
          "first_light": {
            "device_id": "97da4c3a46483b7baa486af45ba16255"
          },
          "second_light": {
            "device_id": "b36b95fa649b56b817471d76a241268a"
          },
          "current_light": "input_text.hue_tap_dial_selected_light"
        }
      }
    },
    "context": {
      "id": "01HARBH9FMZTVGGE51FSZ9MMY3",
      "parent_id": "01HARBH9FK3E6NJH9SBQKZ65HT",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Philips Tap Dial Switch",
      "message": "triggered by event 'zha_event'",
      "source": "event 'zha_event'",
      "entity_id": "automation.philips_tap_dial_switch",
      "context_id": "01HARBH9FMZTVGGE51FSZ9MMY3",
      "when": 1695182005.748556,
      "domain": "automation"
    }
  ]
}

I believe to have exactly the same problem, I also get the message ‘no action taken’.
From what I can see from the trace all variables should be properly set but nevertheless the choose condition is not met.
Below trace is when pressing button 1, but same result is seen for buttons 2-4.
I also see that the helper variable is not being modified, so as expected turning the dial is also not working.

{
  "trace": {
    "last_step": "action/1/choose/5/conditions/0",
    "run_id": "abe09787e8dd9e365aff458e976211ed",
    "state": "stopped",
    "script_execution": "finished",
    "timestamp": {
      "start": "2023-10-01T09:19:20.295416+00:00",
      "finish": "2023-10-01T09:19:20.301566+00:00"
    },
    "domain": "automation",
    "item_id": "1696148088968",
    "trigger": "event 'zha_event'",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-10-01T09:19:20.295573+00:00",
          "changed_variables": {
            "first_light": {
              "device_id": [
                "5f060a410832bf3af7562ccdcb26b5a7"
              ]
            },
            "second_light": {
              "device_id": [
                "74fd0951ffbd8e02c09f5be4e2f5292a",
                "74a5cc07bec449d9fcfc5fb698a16808"
              ]
            },
            "third_light": {
              "device_id": [
                "9a98dcfb6cdd3f9995bda49a9c0ebf97",
                "a47aefe3f13c2de9e5d61c724d909082",
                "3ae8023c6febb4c1082271db7cd552a2",
                "d3216819df162ff2fb92f6bee3c014b6"
              ]
            },
            "forth_light": {
              "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
            },
            "current_light": "input_text.philips_tap_dial_switch_last_device",
            "dim_scale": 1,
            "lights": {
              "first_light": {
                "device_id": [
                  "5f060a410832bf3af7562ccdcb26b5a7"
                ]
              },
              "second_light": {
                "device_id": [
                  "74fd0951ffbd8e02c09f5be4e2f5292a",
                  "74a5cc07bec449d9fcfc5fb698a16808"
                ]
              },
              "third_light": {
                "device_id": [
                  "9a98dcfb6cdd3f9995bda49a9c0ebf97",
                  "a47aefe3f13c2de9e5d61c724d909082",
                  "3ae8023c6febb4c1082271db7cd552a2",
                  "d3216819df162ff2fb92f6bee3c014b6"
                ]
              },
              "forth_light": {
                "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
              }
            },
            "this": {
              "entity_id": "automation.philips_tap_dial_switch",
              "state": "on",
              "attributes": {
                "id": "1696148088968",
                "last_triggered": "2023-10-01T09:17:27.694501+00:00",
                "mode": "restart",
                "current": 0,
                "friendly_name": "Philips Tap Dial Switch"
              },
              "last_changed": "2023-10-01T09:01:01.770508+00:00",
              "last_updated": "2023-10-01T09:17:27.698722+00:00",
              "context": {
                "id": "01HBN8EGRED56PEA0ZY3M0YMFE",
                "parent_id": "01HBN8EGRD4NDGB43EPFXX67E8",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "event",
              "event": {
                "event_type": "zha_event",
                "data": {
                  "device_ieee": "00:17:88:01:0d:7d:e2:2b",
                  "unique_id": "00:17:88:01:0d:7d:e2:2b:1:0x0005",
                  "device_id": "8b65d910ca9dcfe43b06b1cf9c797815",
                  "endpoint_id": 1,
                  "cluster_id": 5,
                  "command": "recall",
                  "args": [
                    61427,
                    1
                  ],
                  "params": {
                    "group_id": 61427,
                    "scene_id": 1,
                    "transition_time": null
                  }
                },
                "origin": "LOCAL",
                "time_fired": "2023-10-01T09:19:20.295078+00:00",
                "context": {
                  "id": "01HBN8HYQ7VEJ1YHF3XEGCMMP3",
                  "parent_id": null,
                  "user_id": null
                }
              },
              "description": "event 'zha_event'"
            }
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-10-01T09:19:20.297534+00:00",
          "changed_variables": {
            "context": {
              "id": "01HBN8HYQ7QVAQH6THRQJ6KJNM",
              "parent_id": "01HBN8HYQ7VEJ1YHF3XEGCMMP3",
              "user_id": null
            }
          }
        }
      ],
      "action/1": [
        {
          "path": "action/1",
          "timestamp": "2023-10-01T09:19:20.298481+00:00",
          "changed_variables": {
            "command": "recall",
            "args": [
              61427,
              1
            ],
            "params": {
              "group_id": 61427,
              "scene_id": 1,
              "transition_time": null
            },
            "step_size": "",
            "step_mode": "",
            "scene": ""
          }
        }
      ],
      "action/1/choose/0": [
        {
          "path": "action/1/choose/0",
          "timestamp": "2023-10-01T09:19:20.298597+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/0/conditions/0": [
        {
          "path": "action/1/choose/0/conditions/0",
          "timestamp": "2023-10-01T09:19:20.298654+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/0/conditions/1": [
        {
          "path": "action/1/choose/0/conditions/1",
          "timestamp": "2023-10-01T09:19:20.298786+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/1": [
        {
          "path": "action/1/choose/1",
          "timestamp": "2023-10-01T09:19:20.298933+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/1/conditions/0": [
        {
          "path": "action/1/choose/1/conditions/0",
          "timestamp": "2023-10-01T09:19:20.298975+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/1": [
        {
          "path": "action/1/choose/1/conditions/1",
          "timestamp": "2023-10-01T09:19:20.299083+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/1/conditions/2": [
        {
          "path": "action/1/choose/1/conditions/2",
          "timestamp": "2023-10-01T09:19:20.299195+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/2": [
        {
          "path": "action/1/choose/2",
          "timestamp": "2023-10-01T09:19:20.299333+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/2/conditions/0": [
        {
          "path": "action/1/choose/2/conditions/0",
          "timestamp": "2023-10-01T09:19:20.299390+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/1": [
        {
          "path": "action/1/choose/2/conditions/1",
          "timestamp": "2023-10-01T09:19:20.299500+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/2/conditions/2": [
        {
          "path": "action/1/choose/2/conditions/2",
          "timestamp": "2023-10-01T09:19:20.299608+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/3": [
        {
          "path": "action/1/choose/3",
          "timestamp": "2023-10-01T09:19:20.299740+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/3/conditions/0": [
        {
          "path": "action/1/choose/3/conditions/0",
          "timestamp": "2023-10-01T09:19:20.299780+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/1": [
        {
          "path": "action/1/choose/3/conditions/1",
          "timestamp": "2023-10-01T09:19:20.299882+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/3/conditions/2": [
        {
          "path": "action/1/choose/3/conditions/2",
          "timestamp": "2023-10-01T09:19:20.299987+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/4": [
        {
          "path": "action/1/choose/4",
          "timestamp": "2023-10-01T09:19:20.300119+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/4/conditions/0": [
        {
          "path": "action/1/choose/4/conditions/0",
          "timestamp": "2023-10-01T09:19:20.300159+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/5": [
        {
          "path": "action/1/choose/5",
          "timestamp": "2023-10-01T09:19:20.300289+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/5/conditions/0": [
        {
          "path": "action/1/choose/5/conditions/0",
          "timestamp": "2023-10-01T09:19:20.300329+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ]
    },
    "config": {
      "mode": "restart",
      "max_exceeded": "silent",
      "variables": {
        "first_light": {
          "device_id": [
            "5f060a410832bf3af7562ccdcb26b5a7"
          ]
        },
        "second_light": {
          "device_id": [
            "74fd0951ffbd8e02c09f5be4e2f5292a",
            "74a5cc07bec449d9fcfc5fb698a16808"
          ]
        },
        "third_light": {
          "device_id": [
            "9a98dcfb6cdd3f9995bda49a9c0ebf97",
            "a47aefe3f13c2de9e5d61c724d909082",
            "3ae8023c6febb4c1082271db7cd552a2",
            "d3216819df162ff2fb92f6bee3c014b6"
          ]
        },
        "forth_light": {
          "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
        },
        "current_light": "input_text.philips_tap_dial_switch_last_device",
        "dim_scale": 1,
        "lights": {
          "first_light": {
            "device_id": [
              "5f060a410832bf3af7562ccdcb26b5a7"
            ]
          },
          "second_light": {
            "device_id": [
              "74fd0951ffbd8e02c09f5be4e2f5292a",
              "74a5cc07bec449d9fcfc5fb698a16808"
            ]
          },
          "third_light": {
            "device_id": [
              "9a98dcfb6cdd3f9995bda49a9c0ebf97",
              "a47aefe3f13c2de9e5d61c724d909082",
              "3ae8023c6febb4c1082271db7cd552a2",
              "d3216819df162ff2fb92f6bee3c014b6"
            ]
          },
          "forth_light": {
            "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
          }
        }
      },
      "trigger": [
        {
          "platform": "event",
          "event_type": "zha_event",
          "event_data": {
            "device_id": "8b65d910ca9dcfe43b06b1cf9c797815"
          }
        }
      ],
      "action": [
        {
          "variables": {
            "command": "{{ trigger.event.data.command }}",
            "args": "{% if (trigger.event.data.args is defined) %}{{trigger.event.data.args}}{% endif %}",
            "params": "{% if (trigger.event.data.params is defined) %}{{trigger.event.data.params}}{% endif %}",
            "step_size": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_size is defined) %}{{trigger.event.data.params.step_size}}{% endif %}",
            "step_mode": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_mode is defined) %}{{trigger.event.data.params.step_mode}}{% endif %}",
            "scene": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.scene is defined) %}{{trigger.event.data.params.scene}}{% endif %}"
          }
        },
        {
          "choose": [
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ scene == 1 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": [
                      "5f060a410832bf3af7562ccdcb26b5a7"
                    ]
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.philips_tap_dial_switch_last_device"
                          },
                          "data": {
                            "value": "first_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ second_light != none }}",
                "{{ scene == 0 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": [
                      "74fd0951ffbd8e02c09f5be4e2f5292a",
                      "74a5cc07bec449d9fcfc5fb698a16808"
                    ]
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.philips_tap_dial_switch_last_device"
                          },
                          "data": {
                            "value": "second_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ third_light != none }}",
                "{{ scene == 5 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": [
                      "9a98dcfb6cdd3f9995bda49a9c0ebf97",
                      "a47aefe3f13c2de9e5d61c724d909082",
                      "3ae8023c6febb4c1082271db7cd552a2",
                      "d3216819df162ff2fb92f6bee3c014b6"
                    ]
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.philips_tap_dial_switch_last_device"
                          },
                          "data": {
                            "value": "third_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ forth_light != none }}",
                "{{ scene == 4 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.philips_tap_dial_switch_last_device"
                          },
                          "data": {
                            "value": "forth_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Up' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": [
                          "5f060a410832bf3af7562ccdcb26b5a7"
                        ]
                      },
                      "data": {
                        "brightness_step_pct": "{{ step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Down' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ -step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "device_id": [
                          "5f060a410832bf3af7562ccdcb26b5a7"
                        ]
                      },
                      "data": {
                        "brightness_step_pct": "{{ -step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "id": "1696148088968",
      "alias": "Philips Tap Dial Switch",
      "description": ""
    },
    "blueprint_inputs": {
      "id": "1696148088968",
      "alias": "Philips Tap Dial Switch",
      "description": "",
      "use_blueprint": {
        "path": "apollo1220/philips_zigbee_dial.yaml",
        "input": {
          "remote": "8b65d910ca9dcfe43b06b1cf9c797815",
          "first_light": {
            "device_id": [
              "5f060a410832bf3af7562ccdcb26b5a7"
            ]
          },
          "second_light": {
            "device_id": [
              "74fd0951ffbd8e02c09f5be4e2f5292a",
              "74a5cc07bec449d9fcfc5fb698a16808"
            ]
          },
          "third_light": {
            "device_id": [
              "9a98dcfb6cdd3f9995bda49a9c0ebf97",
              "a47aefe3f13c2de9e5d61c724d909082",
              "3ae8023c6febb4c1082271db7cd552a2",
              "d3216819df162ff2fb92f6bee3c014b6"
            ]
          },
          "forth_light": {
            "device_id": "9a9917ab64097cc85e3c5bb8ba2e5e1d"
          },
          "current_light": "input_text.philips_tap_dial_switch_last_device"
        }
      }
    },
    "context": {
      "id": "01HBN8HYQ7QVAQH6THRQJ6KJNM",
      "parent_id": "01HBN8HYQ7VEJ1YHF3XEGCMMP3",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Philips Tap Dial Switch",
      "message": "triggered by event 'zha_event'",
      "source": "event 'zha_event'",
      "entity_id": "automation.philips_tap_dial_switch",
      "context_id": "01HBN8HYQ7QVAQH6THRQJ6KJNM",
      "when": 1696151960.295689,
      "domain": "automation"
    }
  ]
}

Thanks Ray.
@apollo1220, if you have the opportunity to take a look, that would be much appreciated. :grinning:

1 Like

Did you manage to get this working? I switched from ZHA to Z2M but this one is really bugging me.

I already start looking at the blueprint code, but I am not yet on that level to make such blueprints unfortunately.

Nope. I hope Ray is able to take a look.

Ok, dug a bit deeper today.
Proved to be super duper simple to fix. The incoming parameter that defines which button is pressed is called scene_id while in the blueprint it is presumed to be called scene.
Not sure what is the root cause, maybe HA renamed this parameter?
Anyway, I have submitted a PR to the blueprint with this fix.

2 Likes

It was scene when I wrote the blueprint and scene does still work for me. Possibly a firmware update from Philips changed it (I haven’t ever updated the firmware on my dial).

Please help, doesn’t work anymore after new HA installation.

I moved to a new house and so installed a fresh new HA installation. I managed to reset and include the Hue tap dial again (took some time). And it is available in HA. I can press identify and the orange led starts blinking.

So I added this blueprint, choose the tap dial as device and configured a device to control. But nothing happens, I tried a device, an entity, but nothing.

Why o why?

UPDATE: I did a reconfigure, got some errors, but now the tap is working… weird.

For those interested in a Zigbee2MQTT version. I have made one, but I tweaked it to my specific preference I had when I was using this one in ZHA.

I only use three buttons and it controls 3 different lights. I have configured the 4th button just to turn off the last selected light. Yes, with Z2M we can use double press or long press but I am a simple person and I am happy with this :).

Also, Z2M doesn’t know the concept of ‘step_size’, but does now the actions step, slow and fast. I have covered this as separate conditions and applied a dimscale * 2 (slow) and * 5 (fast).

blueprint:
  name: Zigbee2MQTT - Hue Tap Dail Dimmer
  description: 'Control lights with a Philips Hue Tap Switch. Use the four buttons
    to control up to four light(s) with an on/off toggle. The dial can be used to
    dim the most recently used light.'
  domain: automation
  input:
    button_sensor:
      name: Philips Hue Tap dial switch sensor entity
      description: Sensor for Philips Hue Tap dial switch to use (Use sensor with
        entity_id ends with _action)
      selector:
        entity:
          domain:
          - sensor
          multiple: false
    remote_button_1_single_press:
      name: Button 1 Single Press
      description: The light(s) to control with first button
      selector:
        target:
          entity:
            domain: light
    remote_button_2_single_press:
      name: Button 2 Single Press
      description: The light(s) to control with second button
      selector:
        target:
          entity:
            domain: light
    remote_button_3_single_press:
      name: Button 3 Single Press
      description: The light(s) to control with third button
      selector:
        target:
          entity:
            domain: light
    current_button:
      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.
      default:
      selector:
        entity:
          domain:
          - input_text
          multiple: false
    dim_scale:
      name: Diming Scale
      description: Scale factor for the dimming. This value will be multiplied by
        the value given from the dial. So lower number, more gradual dimming. Larger
        number, faster dimming.
      default: 1.0
      selector:
        number:
          min: 0.0
          max: 5.0
          step: 0.01
          mode: slider
mode: restart
max_exceeded: silent
variables:
  remote_button_1_single_press: !input remote_button_1_single_press
  remote_button_2_single_press: !input remote_button_2_single_press
  remote_button_3_single_press: !input remote_button_3_single_press
  current_button: !input current_button
  dim_scale: !input dim_scale
  lights:
    remote_button_1_single_press: !input remote_button_1_single_press
    remote_button_2_single_press: !input remote_button_2_single_press
    remote_button_3_single_press: !input remote_button_3_single_press
trigger:
- platform: state
  entity_id: !input button_sensor
  to: button_1_press
- platform: state
  entity_id: !input button_sensor
  to: button_2_press
- platform: state
  entity_id: !input button_sensor
  to: button_3_press
- platform: state
  entity_id: !input button_sensor
  to: button_4_press
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_left_step
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_left_slow
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_left_fast
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_right_step
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_right_slow
- platform: state
  entity_id: !input button_sensor
  to: dial_rotate_right_fast
action:
- variables:
    action: '{{ trigger.to_state.state }}'
- choose:
  - conditions: '{{ action == ''button_1_press'' }}'
    sequence:
    - service: light.turn_on
      target: !input remote_button_1_single_press
      data:
        brightness: 50
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: input_text.set_value
          target:
            entity_id: !input current_button
          data:
            value: remote_button_1_single_press    
  - conditions: '{{ action == ''button_2_press'' }}'
    sequence:
    - service: light.turn_on
      target: !input remote_button_2_single_press
      data:
        brightness: 50
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: input_text.set_value
          target:
            entity_id: !input current_button
          data:
            value: remote_button_2_single_press
  - conditions: '{{ action == ''button_3_press'' }}'
    sequence:
    - service: light.turn_on
      target: !input remote_button_3_single_press
      data:
        brightness: 50
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: input_text.set_value
          target:
            entity_id: !input current_button
          data:
            value: remote_button_3_single_press
  - conditions: '{{ action == ''button_4_press'' }}'
    sequence:
    - service: homeassistant.turn_off
      target: '{{ lights[states(current_button)] }}'
  - conditions:
    - '{{ action == ''dial_rotate_left_step'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ -dim_scale }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ -dim_scale }}'
          transition: 1
  - conditions:
    - '{{ action == ''dial_rotate_right_step'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ dim_scale }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ dim_scale }}'
          transition: 1
  - conditions:
    - '{{ action == ''dial_rotate_left_slow'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ -dim_scale * 2 }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ -dim_scale * 2 }}'
          transition: 1
  - conditions:
    - '{{ action == ''dial_rotate_right_slow'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ dim_scale * 2 }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ dim_scale * 2 }}'
          transition: 1
  - conditions:
    - '{{ action == ''dial_rotate_left_fast'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ -dim_scale * 5 }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ -dim_scale * 5 }}'
          transition: 1
  - conditions:
    - '{{ action == ''dial_rotate_right_fast'' }}'
    sequence:
    - choose:
      - conditions: '{{ current_button != none }}'
        sequence:
        - service: light.turn_on
          target: '{{ lights[states(current_button)] }}'
          data:
            brightness_step_pct: '{{ dim_scale * 5 }}'
            transition: 1
      default:
      - service: light.turn_on
        target: !input remote_button_1_single_press
        data:
          brightness_step_pct: '{{ dim_scale * 5 }}'
          transition: 1

For those who had hard time like me to pair/add the device:
https://www.zigbee2mqtt.io/devices/8719514440937_8719514440999.html

This website explains how to add a new or previously added Tap Dial Switch.

Hi everyone. Nice work apolllo1220, thanks.

I am new to HA and want to get rid of my hue bridge step by step. Is there a solution for the long press button id solution, at least at the horizon? Maybe via quirk. I am a lttle bit overwhelmed by all.

Obviously the data is there but simply not used by zha. Is’t there away to make it usable?

[0xF417:1:0xfc00] Unknown cluster command 0 b'\x01\x00\x000\x00!\x00\x00' -> press
[0xF417:1:0xfc00] Unknown cluster command 0 b'\x01\x00\x000\x02!\x02\x00' -> press_release
[0xF417:1:0xfc00] Unknown cluster command 0 b'\x01\x00\x000\x01!\x10\x00' -> hold
[0xF417:1:0xfc00] Unknown cluster command 0 b'\x01\x00\x000\x03!\x19\x00' -> hold_release

The pattern is \button***\command\miliseconds_hex*

It’s there, but I can’t get my hands on it. :exploding_head:

No way that I know of without ZHA supporting it

1 Like

thanks for this.
For me the following part is not working

  • If the light is off, a click will turn it on at 50%.

I found that brightness should be between 0 and 255, but the light does not turn on, when its off, no matter which value is set for brightness.
seems like this part never gets triggered.

the light only turns on if I turn the dial.

Am I missing something?

      - choose:
        - conditions: '{{ states(first_light.entity_id) == ''off'' }}'
          sequence:
          - service: light.turn_on
            target: '{{ first_light }}'
            data:
              transition: 1
              brightness: 50

I appear to be having the same problem with the helper not being set, but neither the current yaml nor the historic one are working. If I go into the helper object and manually change the text, I can get the dial to work. But the button presses aren’t changing it. I can’t figure out how to read the trace. Any help would be appreciated.

{
  "trace": {
    "last_step": "action/1/choose/4/sequence/0/choose/0/sequence/0",
    "run_id": "9386dfac07d537d85177dc60d905dd4f",
    "state": "stopped",
    "script_execution": "error",
    "timestamp": {
      "start": "2023-12-06T03:05:25.992786+00:00",
      "finish": "2023-12-06T03:05:25.995879+00:00"
    },
    "domain": "automation",
    "item_id": "1701831914819",
    "error": "must contain at least one of entity_id, device_id, area_id.",
    "trigger": "event 'zha_event'",
    "trace": {
      "trigger/0": [
        {
          "path": "trigger/0",
          "timestamp": "2023-12-06T03:05:25.992805+00:00",
          "changed_variables": {
            "first_light": {
              "area_id": "kitchen",
              "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
            },
            "second_light": {
              "area_id": "living_room",
              "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
            },
            "third_light": {},
            "forth_light": {},
            "current_light": "input_text.test_helper",
            "dim_scale": 1,
            "lights": {
              "first_light": {
                "area_id": "kitchen",
                "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
              },
              "second_light": {
                "area_id": "living_room",
                "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
              },
              "third_light": {},
              "forth_light": {}
            },
            "this": {
              "entity_id": "automation.philips_tap_dial_switch",
              "state": "on",
              "attributes": {
                "id": "1701831914819",
                "last_triggered": "2023-12-06T03:05:25.491451+00:00",
                "mode": "restart",
                "current": 0,
                "friendly_name": "Philips Tap Dial Switch"
              },
              "last_changed": "2023-12-06T03:05:17.182950+00:00",
              "last_updated": "2023-12-06T03:05:25.493969+00:00",
              "context": {
                "id": "01HGYHCQQKP96WD4KTGEDY0V3D",
                "parent_id": "01HGYHCQQKFN87WGVT5AB24QJA",
                "user_id": null
              }
            },
            "trigger": {
              "id": "0",
              "idx": "0",
              "alias": null,
              "platform": "event",
              "event": {
                "event_type": "zha_event",
                "data": {
                  "device_ieee": "00:17:88:01:0d:7c:a3:1b",
                  "unique_id": "00:17:88:01:0d:7c:a3:1b:1:0x0008",
                  "device_id": "2f0bfdda30b9055cbfc5a08d9a9f69d1",
                  "endpoint_id": 1,
                  "cluster_id": 8,
                  "command": "step_with_on_off",
                  "args": [
                    0,
                    255,
                    6
                  ],
                  "params": {
                    "step_mode": 0,
                    "step_size": 255,
                    "transition_time": 6
                  }
                },
                "origin": "LOCAL",
                "time_fired": "2023-12-06T03:05:25.992690+00:00",
                "context": {
                  "id": "01HGYHCR788RXYTZT68Q4WKFN0",
                  "parent_id": null,
                  "user_id": null
                }
              },
              "description": "event 'zha_event'"
            }
          }
        }
      ],
      "action/0": [
        {
          "path": "action/0",
          "timestamp": "2023-12-06T03:05:25.993527+00:00",
          "changed_variables": {
            "context": {
              "id": "01HGYHCR78D54ZFTZ388JS8D73",
              "parent_id": "01HGYHCR788RXYTZT68Q4WKFN0",
              "user_id": null
            }
          }
        }
      ],
      "action/1": [
        {
          "path": "action/1",
          "timestamp": "2023-12-06T03:05:25.994063+00:00",
          "changed_variables": {
            "command": "step_with_on_off",
            "args": "[<StepMode.Up: 0>, 255, 6]",
            "params": "{'step_mode': <StepMode.Up: 0>, 'step_size': 255, 'transition_time': 6}",
            "step_size": 255,
            "step_mode": "StepMode.Up",
            "scene": ""
          },
          "error": "must contain at least one of entity_id, device_id, area_id.",
          "result": {
            "choice": 4
          }
        }
      ],
      "action/1/choose/0": [
        {
          "path": "action/1/choose/0",
          "timestamp": "2023-12-06T03:05:25.994089+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/0/conditions/0": [
        {
          "path": "action/1/choose/0/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994098+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/1": [
        {
          "path": "action/1/choose/1",
          "timestamp": "2023-12-06T03:05:25.994136+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/1/conditions/0": [
        {
          "path": "action/1/choose/1/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994145+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/2": [
        {
          "path": "action/1/choose/2",
          "timestamp": "2023-12-06T03:05:25.994171+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/2/conditions/0": [
        {
          "path": "action/1/choose/2/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994179+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/3": [
        {
          "path": "action/1/choose/3",
          "timestamp": "2023-12-06T03:05:25.994205+00:00",
          "result": {
            "result": false
          }
        }
      ],
      "action/1/choose/3/conditions/0": [
        {
          "path": "action/1/choose/3/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994211+00:00",
          "result": {
            "result": false,
            "entities": []
          }
        }
      ],
      "action/1/choose/4": [
        {
          "path": "action/1/choose/4",
          "timestamp": "2023-12-06T03:05:25.994236+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "action/1/choose/4/conditions/0": [
        {
          "path": "action/1/choose/4/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994242+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/4/conditions/1": [
        {
          "path": "action/1/choose/4/conditions/1",
          "timestamp": "2023-12-06T03:05:25.994264+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/4/sequence/0": [
        {
          "path": "action/1/choose/4/sequence/0",
          "timestamp": "2023-12-06T03:05:25.994405+00:00",
          "error": "must contain at least one of entity_id, device_id, area_id.",
          "result": {
            "choice": 0
          }
        }
      ],
      "action/1/choose/4/sequence/0/choose/0": [
        {
          "path": "action/1/choose/4/sequence/0/choose/0",
          "timestamp": "2023-12-06T03:05:25.994422+00:00",
          "result": {
            "result": true
          }
        }
      ],
      "action/1/choose/4/sequence/0/choose/0/conditions/0": [
        {
          "path": "action/1/choose/4/sequence/0/choose/0/conditions/0",
          "timestamp": "2023-12-06T03:05:25.994434+00:00",
          "result": {
            "result": true,
            "entities": []
          }
        }
      ],
      "action/1/choose/4/sequence/0/choose/0/sequence/0": [
        {
          "path": "action/1/choose/4/sequence/0/choose/0/sequence/0",
          "timestamp": "2023-12-06T03:05:25.994526+00:00",
          "error": "must contain at least one of entity_id, device_id, area_id.",
          "result": {
            "params": {
              "domain": "light",
              "service": "turn_on",
              "service_data": {
                "brightness_step_pct": 255,
                "transition": 1
              },
              "target": {}
            },
            "running_script": false
          }
        }
      ]
    },
    "config": {
      "mode": "restart",
      "max_exceeded": "silent",
      "variables": {
        "first_light": {
          "area_id": "kitchen",
          "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
        },
        "second_light": {
          "area_id": "living_room",
          "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
        },
        "third_light": {},
        "forth_light": {},
        "current_light": "input_text.test_helper",
        "dim_scale": 1,
        "lights": {
          "first_light": {
            "area_id": "kitchen",
            "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
          },
          "second_light": {
            "area_id": "living_room",
            "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
          },
          "third_light": {},
          "forth_light": {}
        }
      },
      "trigger": [
        {
          "platform": "event",
          "event_type": "zha_event",
          "event_data": {
            "device_id": "2f0bfdda30b9055cbfc5a08d9a9f69d1"
          }
        }
      ],
      "action": [
        {
          "variables": {
            "command": "{{ trigger.event.data.command }}",
            "args": "{% if (trigger.event.data.args is defined) %}{{trigger.event.data.args}}{% endif %}",
            "params": "{% if (trigger.event.data.params is defined) %}{{trigger.event.data.params}}{% endif %}",
            "step_size": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_size is defined) %}{{trigger.event.data.params.step_size}}{% endif %}",
            "step_mode": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.step_mode is defined) %}{{trigger.event.data.params.step_mode}}{% endif %}",
            "scene": "{% if (trigger.event.data.params is defined) and (trigger.event.data.params.scene_id is defined) %}{{trigger.event.data.params.scene_id}}{% endif %}"
          }
        },
        {
          "choose": [
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ scene == 1 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "area_id": "kitchen",
                    "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.test_helper"
                          },
                          "data": {
                            "value": "first_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ second_light != none }}",
                "{{ scene == 0 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {
                    "area_id": "living_room",
                    "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
                  }
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.test_helper"
                          },
                          "data": {
                            "value": "second_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ third_light != none }}",
                "{{ scene == 5 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.test_helper"
                          },
                          "data": {
                            "value": "third_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'recall' }}",
                "{{ forth_light != none }}",
                "{{ scene == 4 }}"
              ],
              "sequence": [
                {
                  "service": "homeassistant.toggle",
                  "target": {}
                },
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "input_text.set_value",
                          "target": {
                            "entity_id": "input_text.test_helper"
                          },
                          "data": {
                            "value": "forth_light"
                          }
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Up' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "area_id": "kitchen",
                        "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
                      },
                      "data": {
                        "brightness_step_pct": "{{ step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            },
            {
              "conditions": [
                "{{ command == 'step_with_on_off' }}",
                "{{ step_mode == 'StepMode.Down' }}"
              ],
              "sequence": [
                {
                  "choose": [
                    {
                      "conditions": "{{ current_light != none }}",
                      "sequence": [
                        {
                          "service": "light.turn_on",
                          "target": "{{ lights[states(current_light)] }}",
                          "data": {
                            "brightness_step_pct": "{{ -step_size * dim_scale }}",
                            "transition": 1
                          }
                        }
                      ]
                    }
                  ],
                  "default": [
                    {
                      "service": "light.turn_on",
                      "target": {
                        "area_id": "kitchen",
                        "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
                      },
                      "data": {
                        "brightness_step_pct": "{{ -step_size * dim_scale }}",
                        "transition": 1
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "id": "1701831914819",
      "alias": "Philips Tap Dial Switch",
      "description": ""
    },
    "blueprint_inputs": {
      "id": "1701831914819",
      "alias": "Philips Tap Dial Switch",
      "description": "",
      "use_blueprint": {
        "path": "apollo1220/philips_zigbee_dial.yaml",
        "input": {
          "remote": "2f0bfdda30b9055cbfc5a08d9a9f69d1",
          "first_light": {
            "area_id": "kitchen",
            "device_id": "364c5a8cc06bb175f72f43d02c0e5af8"
          },
          "second_light": {
            "area_id": "living_room",
            "device_id": "04cc334202bb4cd4bcb50f480ea1057b"
          },
          "current_light": "input_text.test_helper"
        }
      }
    },
    "context": {
      "id": "01HGYHCR78D54ZFTZ388JS8D73",
      "parent_id": "01HGYHCR788RXYTZT68Q4WKFN0",
      "user_id": null
    }
  },
  "logbookEntries": [
    {
      "name": "Philips Tap Dial Switch",
      "message": "triggered by event 'zha_event'",
      "source": "event 'zha_event'",
      "entity_id": "automation.philips_tap_dial_switch",
      "context_id": "01HGYHCR78D54ZFTZ388JS8D73",
      "when": 1701831925.992838,
      "domain": "automation"
    }
  ]
}

You didn’t by any chance did create an automation with all 4 buttons used for lights? Besides this your automation is exactly what I’m looking for as I can’t use this one since I’m running Z2M
Thanks!