Skip to content

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