How to configure remote to act on device

I feel stupid that I don’t get something very simple to work.

I run home assistent on a PC with an USB Zigbee transceiver. I also have a Tuya hub, but find it cumbersome to configure things and I am unable to link home assistant with my LIDL branded Tuya hub.

So I linked a Sonoff mini relay and a remote to Home Assistant. I can switch the relay on and off alright. The remote shows up and I see the events (On/Off/Step). It is a (TS1001 by _TYZB01_bngwdjsr) But I am unable to configure it to do something. When I configure a new Automation, select the Remote, there is a list with Triggers. But the available triggers are ‘device offline’, ‘firmware updated’, ‘battery level changes’. The buttons are missing. wtf!

How do I get the remote to do something useful when I press a button ?

Use Event triggers.

You may also want to take a look at the Blueprint Exchange. There are a number of blueprints for Tuya TS1001 remotes, you may find one that works for your version.

I have some progress. I added another remote to Home Assistant. This remote actually shows up with events associated with its button in the interface. I can assign a short press to a scene or to a state toggle.
Here an event from this, working remote:

event_type: zha_event
data:
  device_ieee: 0c:ae:5f:ff:fe:fe:ab:3c
  unique_id: 0c:ae:5f:ff:fe:fe:ab:3c:2:0x0006
  device_id: ae8995901488053da1301139e4d20825
  endpoint_id: 2
  cluster_id: 6
  command: remote_button_short_press
  args: []
  params: {}
origin: LOCAL
time_fired: "2024-09-09T05:13:38.507835+00:00"
context:
  id: 01J7AK7AEBMD2CHH8KMJMCNZ1A
  parent_id: null
  user_id: null

But I still have the remote, where the events do not show up in the GUI. How do I get this remote to show up with its events?

event_type: zha_event
data:
  device_ieee: 68:0a:e2:ff:fe:3e:4d:ec
  unique_id: 68:0a:e2:ff:fe:3e:4d:ec:1:0x0006
  device_id: 9bd9f0433809c6af99485a65e862d2d2
  endpoint_id: 1
  cluster_id: 6
  command: "off"
  args: []
  params: {}
origin: LOCAL
time_fired: "2024-09-09T05:14:01.055067+00:00"
context:
  id: 01J7AK80EZK778XXWH7Q35ZGJJ
  parent_id: null
  user_id: null

I found a Blueprint for my Remote. After importing it in Settings - Blueprints I could assign it a device, but when you press ‘Save’ It prompts you to ‘Rename’ it. WTF!

I was very confused. Later, I found that it creates an automation and wants a name for the automation. I still think this is confusing. It should tell you that it creates an automation and that it prompts for a name of the automation.