Devices List
This view will show a list of selectable devices to the user. Devices that have already been paired with Homey will automatically be filtered out, based on their data property.
Usage: "template": "list_devices"
/drivers/<driver_id>/driver.compose.json
Options
Key | Type | Default | Description |
|
|
| Only allow a single device to be selected |
/drivers/<driver_id>/driver.js
Because the list_devices
template is very common the Driver#onPairListDevices()
method exists which you can implement instead of the Driver#onPair()
method.
Last updated