A function type used to verify if hubitat event matches requirements of a trigger or it's part.
A string value describing hubitat device event type.
Returns a value whether the provided event is of HubitatDeviceEvent type.
Event to check.
true
if provided event is HubitatDeviceEvent; false
if not.
Returns a value whether the provided trigger is related to HubitatDeviceEvent type.
Trigger to check.
true
if provided trigger is related to HubitatDeviceEvent;
false
if not.
Generated using TypeDoc
The HubitatDeviceEvents module allows to easily create automations triggered by Hubitat's device events. In addition it creates a local cache of all Hubitat's devices provided by the Maker API and keeps them up-to-date by listening to device events from Hubitat. This cache is queryable via the HubitatDevicesService.
The HubitatDeviceEvents module uses the HubitatApi module, therefore the HubitatApi module needs to be properly configured (Hubitat's Maker API app and the
.env
config). Refer to the HubitatApi documentation for more details.