frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Device selector acts differently when deselecting devices (design website)

Open Misiu opened this issue 3 years ago • 2 comments

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

Describe the issue you are experiencing

Browsing the design website (https://design.home-assistant.io/#components/ha-selector) I've noticed that the Device picker acts differently than the Entity and Area picker. You can select all the devices, but when you deselect a device the dropdown (select) stays visible: image

Describe the behavior you expected

When we deselect a device the component should behave the same way as Entity and Area selectors.

Steps to reproduce the issue

  1. Go to https://design.home-assistant.io/#components/ha-selector
  2. Select all devices in Multiples section
  3. Deselect all (using X)

What version of Home Assistant Core has the issue?

https://design.home-assistant.io/#components/ha-selector

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

No response

Which operating system are you using to run this browser?

No response

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

Misiu avatar Mar 29 '22 09:03 Misiu

I am seeing the same issue using multiple devices in my blueprint. This is causing me to not be able to delete devices from the list. It does not register that they have been removed.

Before

image

After Remove (Save does not show up)

image

zackbcom avatar Jun 25 '22 20:06 zackbcom

This still seems to be an issue. I'm trying to create a blueprint and coming across the same problem that zackbcom reported. Misiu's steps to reproduce still causes the same result in the Home Assistant design website as well as my live 2022.6.6 instance (I know I'm a few versions behind now, so if it's been fixed, I'll update and this issue could be closed).

gonzotek avatar Sep 18 '22 14:09 gonzotek

Fix PR has been created.

karwosts avatar Jun 02 '23 15:06 karwosts