Local Tuya And contact sensors

Ok so I have Wi-Fi contact sensors on windows and doors. On the Lovelace card they briefly appear as open or closed but the majority of time report unavailable. Is there any way of them showing the last known state rather than unavailable