class documentation

class PropertyControl(BaseModel): (source)

View In Hierarchy

The data required for creating an actionButton in Vue.

Currently this cannot be used to submitData, or to submitOnEvent.

Class Variable label The label to show in the UI
Class Variable property_name The name of the property (or setting).
Class Variable read_back Whether or not to read back the property after setting.
Class Variable read_back_delay The delay in ms before reading back the property.
Class Variable thing The Thing "path" for the Thing instance.
label: str = (source)

The label to show in the UI

property_name: str = (source)

The name of the property (or setting).

read_back: bool = (source)

Whether or not to read back the property after setting.

This is useful for hardware settings that may be coerced to the closest value.

read_back_delay: int = (source)

The delay in ms before reading back the property.

thing: str = (source)

The Thing "path" for the Thing instance.