Thing
is something that may be controlled by IoT Skills.Attribute
is a property of a Thing
.State
defines the current status of a Thing
.Action
can be applied to a Thing
.can_handle
and run_request
.register_entities_and_scenes
method for details.IoTRequest
contains several properties (see the documentation for that class). This method should return True if and only if this skill can take the appropriate action
when considering all other properties of the request. In other words, a partial match, one in which any piece of the IoTRequest is not known to this skill, and is not None, this should return (False, None).can_handle
, as well as the callback_data
returned by can_handle
.initialize
method, at some point after get_entities
and get_scenes
can be expected to return correct results.