home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.01k stars 2.74k forks source link

ZHA Visualization showing disabled devices #20717

Closed SeanPM5 closed 5 months ago

SeanPM5 commented 5 months ago

Checklist

Describe the issue you are experiencing

ZHA Visualization map is showing disabled devices, which I'm like 95% sure never happened before. I think it's a regression from the recent improvements in https://github.com/home-assistant/frontend/pull/20511 , or perhaps the colors just made it easier to spot. Either way, behavior seems wrong?

Noticed this with a temperature sensor that accidentally got thrown out in recent kitchen remodel. I disabled it and you can see from the screenshot below it's disabled and last seen Sept 13. It doesn't show up as selectable in the "Zoom to device" dropdown (expected behavior), but appears on the map (unexpected behavior).

IMG_0564

IMG_0565

Describe the behavior you expected

Don't show disabled devices

Steps to reproduce the issue

  1. Disable a device belonging to ZHA integration
  2. Open ZHA Visualization
  3. See disabled device

What version of Home Assistant Core has the issue?

2024.5

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

iOS app

Which operating system are you using to run this browser?

iOS 17.4.1

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

puddly commented 5 months ago

Devices disabled in Home Assistant may still be on your mesh and act as parent routers so I don't think this is incorrect behavior.

SeanPM5 commented 5 months ago

Ok, that makes sense. Thanks.