home-assistant / home-assistant/iOS

Sensors become stale and not unavailable and can't be deleted

Open
#3,120 10 comments 1 reaction 1 assignee Claimed by @bgoncal View on GitHub
bug mac
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:
Scherm­afbeelding 2024-11-01 om 11 41 16

After restarting the app on my Macbook, the sensors were removed from here:
Scherm­afbeelding 2024-11-01 om 11 41 01

The delete button isn't clickable, so can't delete them
Scherm­afbeelding 2024-11-01 om 11 46 49

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.