Re-upping the 2022 (and 2020!) WTH: “WTH Can’t I mass-delete (non-existent) devices?” For a good reason: it breaks the Companion App, as it attempts to render the default “Overview” dashboard. I’m talking 2200+ entities for 780+ devices.
Over half of these (I gave up counting at 380 devices) are non-existent devices (RFXcom) that cannot be removed.
Symptom: Companion App is non-functional (seems to hang for >10 minutes on startup). Uninstall / reinstall does not help, frontend cache therefore ruled out as the main cause.
My hypothesis is that rendering 780+ devices with 2200+ entities is beyond reasonable, causing the app to hang. Since the Overview dashboard feature cannot be disabled (re-set as default on Companion App install), this is a recurring problem.
Since the app is hanging, you cannot select a different default dashboard.
Adding the capability for mass-delete would offer a permanent way to recover from this problem.
For unknown reasons, I ended up with hundreds of RM174RF sensors added to Home Assistant (via RFXtrx integration) - we’re talking hundreds of Smoke Detector devices, consisting of more than 2000 entities.
Currently there is no way to mass-delete these non-exists devices. When I try to delete one, I get:
Device / service not found
The best I can do at the moment is to click each device in turn, and Hide it. This is neither practical nor correct.
It would be great if the UI would allow me to select multiple devices and Hide / Detete / Force Delete them.
See Some entities not visible in RFXCOM RFXtrx
See also: Remove multiple devices
2020 WTH: WTH Delete devices from GUI
2022 WTH: Oct '22