diff --git a/.changeset/light-pillows-try.md b/.changeset/light-pillows-try.md new file mode 100644 index 00000000..e489e52a --- /dev/null +++ b/.changeset/light-pillows-try.md @@ -0,0 +1,5 @@ +--- +'homebridge-ring': patch +--- + +Wait 30 seconds (instead of 5 seconds) before fetching remote camera status after light is toggled in HomeKit. This may help with issues where camera lights appear to toggle back to old state shortly after turning them on/off. diff --git a/packages/homebridge-ring/camera.ts b/packages/homebridge-ring/camera.ts index 141c8274..01001faa 100644 --- a/packages/homebridge-ring/camera.ts +++ b/packages/homebridge-ring/camera.ts @@ -109,8 +109,8 @@ export class Camera extends BaseDataAccessory { return value }, setValue: (value: boolean) => { - // Allow 5 seconds for the light value to update in our status updates from Ring - lightTargetTimer.setTarget(value, 5000) + // Allow 30 seconds for the light value to update in our status updates from Ring + lightTargetTimer.setTarget(value, 30000) return device.setLight(value) }, requestUpdate: () => device.requestUpdate(),