Skip to content

Conversation

@mumblepins
Copy link

Added an optional semaphore that tells get_events to stop. Also, added a stop_events to cleanly tell the accessory to stop sending events to us.

Combined some of the functionality of get_events into put_characteristics, so put_characteristics is now more flexible (can be called with both the field that should be updated, as well as a default value to set multiple characteristics at once)

Added an optional semaphore that tells get_events to stop. Also, added a stop_events to cleanly tell the accessory to stop sending events to us.

Combined some of the functionality of get_events into put_characteristics, so put_characteristics is now more flexible (can be called with both the field that should be updated, as well as a default value to set multiple characteristics at once)
@jlusiardi
Copy link
Owner

Looks cool! if acceptable, please contribute to the tests. Is it possible to integrate the new feature somehow into /homekit/get_events.py?

@Jc2k Jc2k mentioned this pull request Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants