This is what I get when using local tuya and setting it as a switch. I’ve tried binary sensor too, how did you get the two, and what type did you set it up as?