Both may work with the beta Tuya Smart Life cloud driver here but because it is the cloud there would likely be a delay when switching.