Import missing historical sensor data when sensor reconnects

When a BLE sensor is out of range or otherwise unable to communicate with Home Assistant, that communication gap results in a gap (SensorPush) or “flat spot” (InkBird) in the Home Assistant sensor data and graph. Some BLE sensors, Govee, SensorPush and InkBird among them, store sensor readings locally on the device, updating the data on their respective apps when they reconnect. I wonder if it is possible to similarly import missing readings into Home Assistant when the sensor reconnects.

One downside to this enhancement would be that it would be more difficulty to identify communication/update problems with a given sensor, since the gaps would fill in. Perhaps the missing readings can be visually distinct from the “live” readings to mitigate that.