Object function reference

load_template

A reference entry for load_template

Object function · BluetoothDevice

load_template(string path) ⇒ boolean

Loads a YAML Bluetooth device template, performs its setup writes, and adds its named actions to this device instance.

Example

YASS
$device->load_template("bb8.yaml")
$device->move(150)