@eduardo try using the SWITCH_SONOFF_ZBMINIL2 deviceProfile in the Tuya driver :
I will try adding a dedicated new profile for the R2 In the next days.
EDIT: Actually, after reading your post, it seems to me that you were already using this driver?