homeassistant-portainer icon indicating copy to clipboard operation
homeassistant-portainer copied to clipboard

[Bug] Container entity environment attribute shows incorrect endpoint name

Open mash2k3 opened this issue 9 months ago • 0 comments

I have 5 environments, i connect 4 of them using portainer agent to portainer installed on my main environment. So 4 portainer agents installs and 1 portainer install. I connected the portainer install to the integration. To make it easy to explain the issue lets name my 5 environments a b c d e The integration created 2 devices and named them Portainer Endpoints and Portainer a It added all the container entities under Portainer a which is not a big deal for me. But inside every container entity there is a attribute called environment that is set to e on all of them. That is the issue i wanted to point out because i have the same container running on more than 1 endpoint and i can not differentiate.

How to reproduce the issue

On initial install

Expected behavior

Each container entity to have the correct environment name

Screenshots

image

Software versions

  • Home Assistant version: 2023.10.5
  • Portainer integration version: v1.0.2
  • Portainer software version: 2.19.1

Diagnostics data

config_entry-portainer-e16601bca67a2762bd40d71edfa86a23.json.txt

mash2k3 avatar Oct 27 '23 04:10 mash2k3