Rename of sensor: loss of history

I have seen this behaviour too. But I don’t know the answer to your question.