HueSDK.API.Scenes (HueSDK v0.1.0) View Source
Interface to the Scenes API.
See the official documentation for more information.
Link to this section Summary
Functions
Creates the given scene with all lights in the provided lights resource.
Deletes a scene from the bridge.
Gets a list of all scenes currently stored in the bridge.
Gets the attributes of a given scene.
Modifies or creates a new scene.
Link to this section Functions
Specs
create_scene(HueSDK.Bridge.t(), map()) :: HueSDK.HTTP.response()
Creates the given scene with all lights in the provided lights resource.
Specs
delete_scene(HueSDK.Bridge.t(), String.t()) :: HueSDK.HTTP.response()
Deletes a scene from the bridge.
Specs
get_all_scenes(HueSDK.Bridge.t()) :: HueSDK.HTTP.response()
Gets a list of all scenes currently stored in the bridge.
Specs
get_scene_attributes(HueSDK.Bridge.t(), String.t()) :: HueSDK.HTTP.response()
Gets the attributes of a given scene.
Specs
modify_scene(HueSDK.Bridge.t(), String.t(), map()) :: HueSDK.HTTP.response()
Modifies or creates a new scene.