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

Feature Request: Stateless Buttons for IR Light Device

Open neegool opened this issue 2 years ago • 4 comments

Problem

Currently IR lights are represented as toggle switches in HomeKit. While this works fine, an option to add stateless buttons would be better suited for lights which have separate buttons for On and Off.

Solution

Expose extra buttons to the accessory in HomeKit (either within the same accessory, or as extra buttons as part of an accessory group). One button is for On, and one button is for Off.

Alternatives

No response

Additional context

No response

neegool avatar Nov 08 '23 17:11 neegool

@neegool Feel free to open a PR

donavanbecker avatar Nov 08 '23 18:11 donavanbecker

Support added in v2.12.0, please open new issue if you have any issues.

This can be enable by setting the Stateless config, by inputting your IR light deviceID into the IR Device Settings.

donavanbecker avatar Nov 17 '23 10:11 donavanbecker

Thanks for the update! However when I tried it on an IR Light, it gives me "This accessory is not currently supported by the Home app."

neegool avatar Nov 17 '23 11:11 neegool

Yep because stateless switches are only available in 3rd party apps. Let me try one more thing.

donavanbecker avatar Nov 17 '23 12:11 donavanbecker

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 Sep 27 '24 11:09 github-actions[bot]

This issue has been closed as no further activity has occurred.

github-actions[bot] avatar Oct 03 '24 11:10 github-actions[bot]