(require("lib/kumostat"))(tag) → {Promise}
Injects Kumostat (virtual thermostat controlling an actual thermostat)
properties and methods to a WirelessTag
object.
Parameters:
Name | Type | Description |
---|---|---|
tag |
WirelessTag | the tag object to be injected with the mixin |
- Source:
Returns:
Resolves to the tag object once the tag's temperature sensor has completed initializing. Waiting for this to complete is only needed for reading or setting the temperature thresholds in the correct unit
- Type
- Promise