monitor_docker icon indicating copy to clipboard operation
monitor_docker copied to clipboard

Group each container as Device

Open renedis opened this issue 11 months ago • 1 comments

The integration imports just entities which makes it really hard to find the entities you want. HomeAssistant supports grouping as a device.

It would be great if the sensor.py and __ init __ .py are updated to support to see each container as one device and set the container name as device name.

This can be done by doing something like this:

self._attr_device_info = {
    "identifiers": {(DOMAIN, self._container_id)},
    "name": self._container_name,
    "manufacturer": "Docker",
    "model": "Container",
}

renedis avatar Mar 22 '25 20:03 renedis

it seems these three issues are loosely related - one already has a pending PR:

  • https://github.com/ualex73/monitor_docker/issues/172 (PR here)
  • https://github.com/ualex73/monitor_docker/issues/190
  • https://github.com/ualex73/monitor_docker/issues/200

Chaos02 avatar Nov 13 '25 21:11 Chaos02