Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for LeakSensor and Valve devices #52

Merged
merged 3 commits into from
Jan 6, 2019

Conversation

timcharper
Copy link
Contributor

In this PR, we add support for LeakSensor and Valve devices.

BatteryAccessory is used only by BatteryService and does not apply to
MotionSensor, SmokeSensor, etc.

Deprecate BatteryAccessory and leave the implementation for BatteryService /
Battery for a future date. Log a warning for accessories that are still trying
to use it.
Adds support for regular on/off valves, and ValveWithTimer
@timcharper
Copy link
Contributor Author

Depends on #50 to be merged, ideally, first

Copy link
Collaborator

@andylintner andylintner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this and the other PRs!

@andylintner andylintner merged commit 3ec7264 into hap-java:master Jan 6, 2019
@timcharper timcharper deleted the tharper/leak-sensor branch January 21, 2019 20:25
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