new TimeTriggerPlatform(log, config, api)
Parameters:
| Name | Type | Description |
|---|---|---|
log |
object | Regerence to the log for logging in the Homebridge Context |
config |
object | Reference to the platform configuration (from config.json) |
api |
object | Reference to the Homebridge API |
Throws:
-
- thrown if the configuration is invalid.
- Type
- TypeError
Methods
configureAccessory(accessory) → {void}
- Description:
Homebridge API invoked after restoring cached accessorues from disk.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
accessory |
_PlatformAccessory | Accessory to be configured. |
Throws:
-
- thrown if 'accessory' is not a PlatformAccessory
- Type
- TypeError
Returns:
- Type
- void