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 ?
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:
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.