home-assistant / home-assistant/iOS

Disabled iOS device entities still created - inconsistent with Android Companion app

Open
#3,474 0 comments 0 reactions 0 assignees View on GitHub
bug ios
Dominant language
Swift
Stars
2.4k
Forks
520
Avg merge
7h 27m
Merged PRs (30d)
264

Description

**iOS device model, version and app version**
ipad pro
2025.2 Companion App

**Home Assistant CoreVersion**
2025.3.0

**Describe the bug**
When I **disable** sensors under `Settings->Companion app->Sensors`, HA still creates the sensors (though they don't seem to populate with data)

In contrast, on the Android, the expected behavior occurs whereby the sensors are not created.
This iOS behavior is desirable as there is no point in cluttering HA database and registries with unwanted sensor.

Plus the apps should be consistent in how they handle disabled sensors.

**To Reproduce**
- Install HA Companion app on your i-thing
- Disable one or more sensors
- Connect to your HA server
- Look in `states_meta` of `home-assisstant_v2.db` and `core.entity_registry` to see that sensors created nonetheless

**Expected behavior**
- Disabling sensors means they are *not* created

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.