NSPManager / NSPanelManager

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

Implement "Display name" for lights #21

Closed tpanajott closed 1 year ago

tpanajott commented 1 year ago

Implement a "display name" for lights that is shown in the web interface and on the NSPanel. This is so that the light "id" isn't displayed as it can be long and contain a lot of information that is not needed when shown.

cablesandcoffee commented 1 year ago

Very good. Noticed that as well. We should check how many characters that fit on one room page row and have that as max characters.

cablesandcoffee commented 1 year ago

Max characters should be 15 for the "Display Name". Max is set to 17 for the Device text components on Room page so we can also add the two blank spaces.

tpanajott commented 1 year ago

All lights currently added will have to be removed and readded for them to start working again. However, I'm guessing you may want to do that any way to set custom names for them

cablesandcoffee commented 1 year ago

Woohoo! Can't wait to try it!