(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.
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)
add a devices for the glances on home assistant integration.
remove a bridge network on the target machine.
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.
Problem/Motivation
Expected behavior
The network entities should be removed when the corresponding network is removed from the target machine running glances.
Actual behavior
Steps to reproduce
Proposed changes
When a bridge network of the target system removed, the entity of the corresponding device is not removed from the integration.