hassio-addons / addon-glances

Glances - Home Assistant Community Add-ons
https://addons.community
MIT License
153 stars 23 forks source link

Removed bridge network entities are not removed #500

Closed janusn closed 1 month ago

janusn commented 1 month ago

Problem/Motivation

(Why the issue was filed) A bridge network comes and goes when a docker container is downed/pulled on the target machine. As images are updated frequently, there are tons of left over network entities for the devices under glances integration. Screenshot 2024-08-25 at 01 03 38

Expected behavior

(What you expected to happen)

The network entities should be removed when the corresponding network is removed from the target machine running glances.

Actual behavior

(What actually happened) The network entity of the removed network remains and becomes unavailable.

Steps to reproduce

(How can someone else make/see it happen)

  1. add a devices for the glances on home assistant integration.
  2. remove a bridge network on the target machine.
  3. check the entities under the device.

Proposed changes

(If you have a proposed change, workaround or fix, describe the rationale behind it)

When a bridge network of the target system removed, the entity of the corresponding device is not removed from the integration.

sinclairpaul commented 1 month ago

This would be an issue for the integration not the addon, would suggest you log it there.