home-assistant / home-assistant/iOS
Sensors become stale and not unavailable and can't be deleted
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
**Device model, version and app version**
Model Name: Apple M3 Pro
macOS Version: 15.0.1
App Version: 2024.9.2
Safari Version: I don't use safari
**Home Assistant Core Version**
2024.10.4
**Describe the bug**
Sensors become stale and not unavailable and can't be deleted
**To Reproduce**
I had issues with my UPS and have connected it to my MacBook, I got a new one and also connected that to the Macbook to check it before installing. After disconnecting, the sensors remain active and can't be deleted.
**Expected behavior**
Something should happen with these sensors, I think what other integrations do is make them unavailable, which probably makes the most sense.
In my case, I would see them deleted, if they would become unavailable I could delete them manually.
**Screenshots**
In HA the sensors remain there and look active:
After restarting the app on my Macbook, the sensors were removed from here:
The delete button isn't clickable, so can't delete them
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.