A Nest.js service that allows for querying Hubitat's devices, sending commands to Hubitat's devices and exposes an observable providing device update events from Hubitat hub.
Creates a new service instance. Use only for testing as service's creation is handled by the Dependency Injection.
A configuration service providing the configuration data required to establish a connection with the Hubitat hub.
Returns an new observer for device update events.
An observable that will provide all future device events.
Fetches full data for a specified device.
Id of the device to fetch.
Returns details of a specified device. Returns
undefined if the
fetching the data failed.
Id of the device this command needs to be sent.
The command that needs to be send.
An optional value for the command.
Generated using TypeDoc