rules
endpointsHue API: rules
endpoints
create_rule(name, conditions, actions)get_rules()
get_rule(id)
set_rule_attributes(id, name, conditions, actions)
delete_rule(id)
name to assign to the rule
a list of conditions (e.g. the result of a call to
condition()
)
a list of actions (e.g. the result of a call to
action()
)
ID of a specific rule
Requests that create resources return the ID of the newly created
item, requests with side effects return TRUE
upon success, and GET
requests return the response content, parsed into a list.