Using this driver on my Tuya Siren and it works perfectly.
However when setting actions in the rule machine, I am not able to find it in the devices list if i set to control CHIME or TONE (#1). The device only appears if I set it to SIREN (#2)
While it works perfectly as a SIREN, the sound option (1-19) is not available in this mode. I wanted to control the different chimes and tones to output on the device depending on the trigger. I can confirm that the device has 19 different sound effects to choose from by testing them on the DEVICE page.
The only problem is that this device is being identified as Siren only with just on/off actions and no way to choose which tone chime or siren to play
How about rule machine utilizing a custom action? It VERY unintuitive, at least IMHO. This is my dome siren, which has the same capabilities as the Tuya siren. My Tuya siren is disconnected, but this should work if I recall from when my Tuya zigbee siren was connected
Siren and Chime capabilities are rather different. I have started working on adding Chime (and Tone) capability for the Tuya siren, but it involves a lot of changes in the code. Will ping you for testing when ready.
There are a lot of changes compared to the previous version, when you have a chance you can test whether the HE standard 'Tone' and 'Chime' capabilities are working on your configuration.
Still, as noted by @Rxich the most powerful are the custom actions.
The 'playSound' command :
When you use the standard 'Chime' capability from RM 5.1, the command uses the default playSound (Chime) volume and duration preferences as configured in the driver: