Returns the last data which was generated by the sensor.
The name of the device.
The device state.
The type of the device.
Registers a callback which will be triggered when a sensors value has changed.
The callback which will be called once the sensor has generated new data.
Registers a callback which will be triggered when the device encounters an error.
The callback which will be called once the device encountered an error.
Registers a callback which will be triggered when the device state changes.
The callback which will be called once the device changes its state.
Generated using TypeDoc
The device config.