-
Notifications
You must be signed in to change notification settings - Fork 131
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 HAP doorbell input type #495
Conversation
@andyblac from what I gather that issue is about a dummy switch that persists state. This is a stateless switch so I don't see how it would fit in with the example they provided, but perhaps I didn't understand correctly? |
ah, ye, ignore me, must be half a sleep, been long day 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly looks good, see a few comments inline.
also, please add copyright blurb to new files (i made them generic)
and run "make format" to make sure formatting is in order (would be nice to add to github action as well).
* Refactor out SSW into stateless_switch_base so that both doorbell and ssw inherit from the base class Signed-off-by: Timothy Langer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one minor nit
Signed-off-by: Timothy Langer <[email protected]>
very good, thank you! |
stateless_switch
intostateless_switch_base
to avoid code duplicationdoorbell
service based onstateless_switch_base