NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
126 stars 10 forks source link

Bug when adding light to room buttons #150

Closed cablesandcoffee closed 2 months ago

cablesandcoffee commented 2 months ago

Describe the bug If you have 2 light which are not added to room button and try to add the second one in the list it adds the first one

To Reproduce Steps to reproduce the behavior:

  1. Make sure to have two lights which are added to a room but not added to room buttons
  2. Click on one of the room buttons to add a light
  3. Choose the second light in the dropdown list
  4. First light in the dropdown list was added

Expected behavior Light chosen, second in dropdown list should be chosen.

Environment info (please complete the following information):