SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Add button press information to contact sensor

Open AdyRock opened this issue 3 years ago • 15 comments

Is your feature request related to a problem? Please describe.

Currently there is no way to make use of the button via the web API

Describe the solution you'd like

Add the following field to the status object: buttonCount: x Where x is incremented each time the button is pressed.

Describe alternatives you've considered

There are no alternatives

Additional context

By using a count it is possible to see how many time the button has been pressed since the last status fetch.

AdyRock avatar Nov 09 '21 11:11 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 19 '21 12:11 github-actions[bot]

Will this be added?

AdyRock avatar Nov 19 '21 12:11 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 29 '21 13:11 github-actions[bot]

Any news about this?

AdyRock avatar Nov 29 '21 13:11 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 09 '21 14:12 github-actions[bot]

Any progress yet?

AdyRock avatar Dec 09 '21 15:12 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 19 '21 16:12 github-actions[bot]

Any progress?

AdyRock avatar Dec 19 '21 16:12 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 29 '21 17:12 github-actions[bot]

Any progress on this?

AdyRock avatar Dec 29 '21 17:12 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 08 '22 19:01 github-actions[bot]

Any progress?

AdyRock avatar Jan 08 '22 19:01 AdyRock

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 18 '22 20:01 github-actions[bot]

Any updates?

AdyRock avatar Jan 18 '22 20:01 AdyRock