chrisjshull / homebridge-nest

Nest plugin for HomeBridge
707 stars 111 forks source link

Toggling Home Occupied results in immediate reversal. #557

Closed cyberpower678 closed 2 years ago

cyberpower678 commented 2 years ago

Describe the bug When toggling the Home Occupied switch, it will bounce back to the previous setting. This will in turn not only trigger any automation when toggled, but it will also trigger automation when toggled back. This causes HomeKit to get confused at what to due to back and forth toggling.

To Reproduce Steps to reproduce the behavior:

  1. Toggle the button, watch it switch back within 3 seconds

Expected behavior When toggling the button, it should remain in that position until toggled again.

Include with your bug report this version info: v4.2.8 v16.16.0

Also include debug log output from startup through seeing the issue: 8/13/2022, 2:22:48 PMNest BridgeERROR[Nest Bridge A5D5@Home Occupied@Home Occupied@On] SET handler returned write response value, though the characteristic doesn't support write response 8/13/2022, 2:22:49 PMNest BridgeERROR[Nest Bridge A5D5@Home Occupied@Home Occupied@On] SET handler returned write response value, though the characteristic doesn't support write response

cyberpower678 commented 2 years ago

Activating "HomeAway.AsOccupancySensorAndSwitch" is an effective workaround. Closing this.