Tracking State for Rf Devices

Hi,
As we all know Rf devices don’t have a queryable state. Is there a way of generating a ‘fake’ state for these types of devices so hass can remember what it last did with that device?

Regards,
Dave

Very similar question asked yesterday. I’d check there first and see if your questions are answered.