From 615d70ccd7f7c5bebf40c234abc56a05ff2dfd79 Mon Sep 17 00:00:00 2001 From: Northern Man <19808920+NorthernMan54@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:05:01 -0400 Subject: [PATCH] Update characteristics.md --- src/docs/api/characteristics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/api/characteristics.md b/src/docs/api/characteristics.md index ee6e43e..e2d29a6 100644 --- a/src/docs/api/characteristics.md +++ b/src/docs/api/characteristics.md @@ -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)