Is there a way to remove data from long term statistics?
I experience two problems with those:
- After updating esphome and reflashing my boards I get this warning:
The unit of sensor.rgb_living_room_wifi_signal (dBm) does not match the unit of already compiled statistics (dB). Generation of long term statistics will be suppressed unless the unit changes back to dB
I tried to remove and add again the integration for this device but the warning is still there. I could probably change the units back to db from esphome but I think it the correct apporach would be to keep it dbm (as esphome thinks is correct) and remove the old long term statistics.
- I changed the name of a device on esphome and reflashed. The long term statistics of the device with the previous name are still available and I can select them in a statistics graph card. Is there a way to remove them completely? Are they stored in the database? I could run sqlite on terminal. Is it safe to remove them?