-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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 Broadlink cover platform #30156
Add Broadlink cover platform #30156
Conversation
Hey there @Danielhiversen, @felipediel, mind taking a look at this pull request as its been labeled with a integration ( |
Thank you for your contribution thus far! 🎖 Since this is a significant contribution, we would appreciate you'd added yourself to the list of code owners for this integration. ❤️ Please, add your GitHub username to the For more information about "code owners", see: Architecture Decision Record 0008: Code owners. |
Done. Thanks. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Thanks, stalebot, but this PR awaits an initial review from us. |
} | ||
) | ||
|
||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( |
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.
We no longer accept additions or changes to the yaml config of integrations. See: https://github.com/home-assistant/architecture/blob/master/adr/0010-integration-configuration.md
This integration needs to be refactored to use a config flow and config entries.
https://developers.home-assistant.io/docs/config_entries_config_flow_handler
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.
I am working on the refactor. Please hold this PR a little longer so we can integrate platforms.
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.
When submitted last December this PR purpose was for a platform addition to the Broadlink integration. With this April 14 ADR10, my understanding is that the scope of this PR needs to be extended to a complete refactoring of the entire Broadlink integration to make it an UI Integration.
@felipediel is it what you meant by refactor.
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.
@embak Home Assistant has changed and we need to adapt the Broadlink integration to be configured via config flow. I'm working on the update. When I'm done I'll be back here to help you adapt the code.
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.
This PR will be refactored pending config flow implementation in the Broadlink integration. ( #36914 )
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.
Can we in meantime close this PR and re-open when ready?
As we keep looking at things, that cannot move forward at this point, which is highly inefficient for us reviewers.
Thanks for considering 👍
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
Closing here for now. Ping me when we can move forward. |
Description:
This PR introduces a new platform for controlling IR/RF covers using 'Broadlink' implementation for RM devices. I know, we already have the 'Broadlink' switch platform and 'Template Cover' that can be combined to do pretty much the same. I consider this an enhancement to the excellent work done by mjg59 and Danielhiversen.
This platform introduces the following improvements:
I successfully used this cover platform, as a custom component, trough UI, scenes, automations and voice control for more than 9 months with 4 RF covers.
Pull request with documentation for home-assistant.io: home-assistant/home-assistant.io#11517
Example entry for
configuration.yaml
:Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
python3 -m script.hassfest
.requirements_all.txt
by runningpython3 -m script.gen_requirements_all
..coveragerc
.