You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this project started relatively small, the business logic for sending commands to HA and process internal "HUE only" commands is now contained into the Hue api. It's time to move this intro separate controllers so we have the benefit of cleaner code and reusable code.
controller for all business logic to HA (such as issue light command, throtling etc.)
controller for all "HUE only" business logic, like the localstorage, scenes etc.
The API will then be just a definition of endpoints, calling actions on he controllers.
The text was updated successfully, but these errors were encountered:
I think as part of this, we should create a proper error handler so that we collect all errors that occur in a request and display them out in order. We avoid should sending anything but proper hue errors.
As this project started relatively small, the business logic for sending commands to HA and process internal "HUE only" commands is now contained into the Hue api. It's time to move this intro separate controllers so we have the benefit of cleaner code and reusable code.
The API will then be just a definition of endpoints, calling actions on he controllers.
The text was updated successfully, but these errors were encountered: