How to expose a state which I know exists but doesn't appear as entity?

Hi all

I’m still finding my way around, just installed HA a couple days ago.

I have an outdoor motion activated floodlight (Tuya device). I was able to pull it into HA using the ‘Tuya’ integration. In terms of controlling the device as a ‘light’, that is already working (e.g. on/off, colour, brightness etc.).

But for the plugin to be useful, I need to be able to set the floodlight to Auto mode (i.e. motion activated). Every time I turn the light on using HA, the mode changes to ‘On’ (i.e. always on, motion sensor deactivated).

I can’t see the relevant Auto/On entity under Developers tools > states:

[EDIT: TRIED TO UPLOAD PIC OF STATES, BUT NEW USERS CAN ONLY INSERT 1 X IMAGE]

However, if I go to the device and download diagnostics, I can see it listed:

Again, I’m very new to this. Can anybody give me some pointers on how to expose this ‘Auto / Manual’ state to HA? And then how would I control it? Perhaps a switch with ON=Auto, OFF=Manual?

Thanks