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.
Fetches a list of all devices provided by Hubitat's Maker API.
Returns a list of devices provided by
Hubitat's Maker API.
The list can be empty. Returns undefined
if fetching devices failed.
Sends command to Hubitat's device. Only one value is supported as the
Hubitat's Maker API
doesn't support receiving two values. This makes it impossible to send
commands like
setLevel
with the duration
value.
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
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.