Options
All
  • Public
  • Public/Protected
  • All
Menu

Module HubitatDeviceEvents

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.

Index

Type aliases

HubitatEventMatchFunction

HubitatEventMatchFunction: (event: HubitatDeviceEvent) => boolean

A function type used to verify if hubitat event matches requirements of a trigger or it's part.

Type declaration

Variables

Const HUBITAT_DEVICE_EVENT_TYPE

HUBITAT_DEVICE_EVENT_TYPE: "hubitat-device" = "hubitat-device"

A string value describing hubitat device event type.

Timeout

Timeout: any

Functions

isHubitatDeviceEvent

Generated using TypeDoc