Motion sensor appears as a switch

motion sensor (tuya) appears as a switch in ha how can i change that?

I believe inside that FR, there are workarounds that can be implemented in the mean time until it is supported in Home Assistant.

See post #67 (2nd approach) by angadsingh