Battery Powered Temperature Sensor Dashboard Display

I have the numeric value from a battery powered zigbee temperature sensor displayed on my dashboard. The dashboard shows the sensor unavailable most of the time. Is there a way to have the dashboard display the temperature from the last update from the sensor until the sensor sends a new update?

Maybe create a helper custom sensor which will store the last valid output from the temperature sensor.

Show the customer sensor data on your dashboard.

That way you‘ll always see the latest value no matter what state the actual temperature sensor is in.