iOS icon indicating copy to clipboard operation
iOS copied to clipboard

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

Open puterboy opened this issue 8 months ago • 0 comments
trafficstars

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

puterboy avatar Mar 06 '25 15:03 puterboy