ManagerDrivers

You can access this manager through the Homey instance as this.homey.drivers

Methods

getDriver

getDriver(driverId): Driver

Get a Driver instance by its ID

Parameters

Name Type Description
driverId
string

ID of the driver, as defined in app.json

Returns

Driver

getDrivers

getDrivers(): Object.<string, Driver>

Get an object with all Driver instances, with their ID as key

Returns

Drivers

Object.<string, Driver>