ManagerDrivers

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

Table of Contents

Methods

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:
Type:
Driver

Driver

getDrivers() → {object}

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

Returns:
Type:
object

Drivers