module documentation

Functionality for communicating the required user interface for a thing.

Class ActionButton The data required for creating an actionButton in Vue.
Class PropertyControl The data required for creating an actionButton in Vue.
Function action_button_for Create a ActionButton data for the specified Thing Action.
Function property_control_for Create an PropertyControl data for the specified Thing Property.
def action_button_for(action: Callable[..., Any], **kwargs: Any) -> ActionButton: (source)

Create a ActionButton data for the specified Thing Action.

Parameters
action:Callable[..., Any]The thing action to create a button for.
**kwargs:AnyAny attribute of ActionButton except for thing or action.
Returns
ActionButtonUndocumented
def property_control_for(thing: lt.Thing, property_name: str, **kwargs: Any) -> PropertyControl: (source)

Create an PropertyControl data for the specified Thing Property.

Parameters
thing:lt.ThingThe instance of the thing that has the property to be controlled.
property_name:strThe name of the property to create a control for.
**kwargs:AnyAny attribute of PropertyControl except for thing or property_name. If label is not set here it will be the property name.
Returns
PropertyControlUndocumented