Unable to delete HomeKit Device in Home Assistant 2023.7.1

I tried to delete an Eve Energy from my HomeKit Devices in Home Assistant. Doesn’t work.

After clicking on the trash button, nothing happens. So I tried to delete the entities, didn’t work either.

Deleted the Device from .storage/core.entity_registry and .storage/core.device_registry and saved the files. Then restarted Home Assistant. But then it showed up again.

Reseted the Eve Energy and tried it all again. Same result. I can’t remove it from Home Assistant.

Using:
Home Assistant 2023.7.1
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.1 - latest

Problem solved.

I disabled the device first. Then I could remove it

How did you disable the device? Can’t find that option.

Integrations - HomeKit - three dots next to the device and select „Deactivate“