Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/docs/api/characteristics.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ switchService.getCharacteristic(this.api.hap.Characteristic.On)
### Characteristic.updateValue
> Characteristic.updateValue(value): Characteristic

Updates the characteristic value without triggering the "set" event handler. This can be used to update the state of a characteristic at any time, for example, when triggering a motion sensor. If your plugin uses updateValue to update state, you do not need to implement the onGet handler. Homebridge will cache the value and return the most recent value when a 'get' event is received from HomeKit.
Updates the characteristic value without triggering the "set" event handler. This can be used to update the state of a characteristic at any time, for example, when triggering a motion sensor. If your plugin uses updateValue to update state, implementing the onGet event handler is optional. If the onGet event handler is not implemented Homebridge will return the most recent value when a 'get' event is received.

```js
switchService.getCharacteristic(this.api.hap.Characteristic.On)
Expand Down