delfick / photons

Python3.6+ asyncio framework for interacting with LIFX devices
https://photons.delfick.com
MIT License
73 stars 6 forks source link

Switch find_ips sorting to IP address instead of serial #27

Closed Djelibeybi closed 3 years ago

Djelibeybi commented 3 years ago

Currently, the find_ips task sorts the output in env_output and settings_output modes by the serial number of the device.

For large(r) deployments, it would be far more useful to sort the output by IP address instead. This would allow a human to spot either missing or misconfigured devices, because IP addresses are controlled by the user.