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 new Blinds Accessory for controlling roller motor shades #463

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

ThisIsQasim
Copy link

Since the project is getting some attention again, I am re-creating #324 which is a rebase of #282

scooterpsu and others added 3 commits May 3, 2024 18:39
Add additional Fan/Fan Light settings to config schema iRayanKhan#458
* Make MultiState requests optional on Fan accessory

* refactor
Notifies on ring with a snapshot.
Notifies when a user presses the lock or gate buttons on another device.
Does not provide video or audio.
Does not allow the user to control the lock or gate.

Co-authored-by: Andrew Kurowski <[email protected]>
@05TEVE
Copy link
Collaborator

05TEVE commented May 4, 2024

Hi @ThisIsQasim, Thanks for the PR. Would it be possible to add this into the existing simple blinds accessory file as another type?

@05TEVE 05TEVE self-requested a review May 4, 2024 08:16
@ThisIsQasim
Copy link
Author

Hi @05TEVE, I can probably get it to work with a single file but I think we would end up with a lot of spaghetti code because the existing “Simple Blind Accessory” isn’t simple at all. It was for older blinds that didn’t report current position so it would calculate the position based on the time it took to fully open and close the blind. You can imagine the code for it wasn’t straight forward.

Anyways, have a look and if you still think it would be best to consolidate I’ll give it a shot.

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.

4 participants