Checklist
Describe the issue you are experiencing
In the Developer Tools -> Statistics screen the "Fix Issue" button for "This entity is no longer being recorded" doesn't actually provide an option to fix the issue

Describe the behavior you expected
An option to "Delete" all of the statistics associated with the entity.
Steps to reproduce the issue
- Install Home Assistant
- Add an entity that will be recorded in statistics
- Exclude that entity from being recorded in the recorder
- Restart Home Assistant
- Open the developer tools -> statistics screen
- Find the entity; note when you select "Fix Issue" the only option is "OK
What version of Home Assistant Core has the issue?
2024.4.3
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Crhome 123.0.6312.105
Which operating system are you using to run this browser?
Ubuntu 22.04
State of relevant entities
No response
Problem-relevant frontend configuration
Here is an excerpt from the configuration I am using for the recorder:
recorder:
db_url: !secret mysql_recorder_database
exclude:
entities:
- sensor.pro_check_83ed_signal_strength
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
Checklist
Describe the issue you are experiencing
In the Developer Tools -> Statistics screen the "Fix Issue" button for "This entity is no longer being recorded" doesn't actually provide an option to fix the issue

Describe the behavior you expected
An option to "Delete" all of the statistics associated with the entity.
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2024.4.3
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Crhome 123.0.6312.105
Which operating system are you using to run this browser?
Ubuntu 22.04
State of relevant entities
No response
Problem-relevant frontend configuration
Javascript errors shown in your browser console/inspector
No response
Additional information
No response