openhue / openhue-cli

OpenHue CLI is a command-line interface for interacting with Philips Hue smart lighting systems.
https://www.openhue.io/cli
Apache License 2.0
45 stars 6 forks source link

Get lights and rooms by their name #31

Closed thibauult closed 9 months ago

thibauult commented 9 months ago

This PR mainly allows to find lights and rooms by their name. A pretty big refactoring was necessary in order to ease the implementation of this feature.

We introduced a "Home Context" that is load at command bootstrap. This context contains all the resources that are necessary to display the information to the user:

We hope that this refactoring will ease future developments.