homebridge-switchbot icon indicating copy to clipboard operation
homebridge-switchbot copied to clipboard

Switchbot - Bot : Press-mode sets Switch to On

Open sy5t3ch opened this issue 2 years ago • 0 comments

Problem

When you set a bot to "Press-mode" and press it, it goes briefly "On" - when it presses the button, and then goes back to "Off" when it is done pressing the button. However for press-buttons that switch a device on, this then doesn't represent the state of that device.

Solution

Add an option which enables Press-Mode to set the state of the device. If pressed once, it is set to On - again then Off. This means the device state needs to be remembered instead of the state of the Bot.

Alternatives

No response

Additional context

No response

sy5t3ch avatar Apr 05 '22 17:04 sy5t3ch