core
core copied to clipboard
Add Remootio integration
Proposed change
This change adds an integration for Remootio to Home Assistant.
Type of change
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
Additional information
The integration is compatible with Remootio devices with a software version >= v2.21 which have a sensor installed.
- PR for logos and icons: home-assistant/brands#3035
- PR for documentation: home-assistant/home-assistant.io#20970
Checklist
- [x] The code change is tested and works locally.
- [x] Local tests pass. Your PR cannot be merged unless tests pass
- [x] There is no commented out code in this PR.
- [x] I have followed the development checklist
- [ ] The code has been formatted using Black (
black --fast homeassistant tests
) - [x] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [x] Documentation added/updated for www.home-assistant.io
If the code communicates with devices, web services, or third-party tools:
- [x] The manifest file has all fields filled out correctly.
Updated and included derived files by running:python3 -m script.hassfest
. - [x] New or updated dependencies have been added to
requirements_all.txt
.
Updated by runningpython3 -m script.gen_requirements_all
. - [ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
- [ ] Untested files have been added to
.coveragerc
.
The integration reached or maintains the following Integration Quality Scale:
- [x] No score or internal
- [ ] 🥈 Silver
- [ ] 🥇 Gold
- [ ] 🏆 Platinum
To help with the load of incoming pull requests:
- [ ] I have reviewed two other open pull requests in this repository.
Hi @ivgg-me,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
HI @ivgg-me will you be able to provide a dummies guide on how to setup the remootio in Home-Assistant? I'm a NOO with no clue on how to get it working. thanks a million!!!!!
HI @ivgg-me will you be able to provide a dummies guide on how to setup the remootio in Home-Assistant? I'm a NOO with no clue on how to get it working. thanks a million!!!!!
Do you mean with this integration or without? - This integration is not yet included in Home Assistant, it awaits currently a review and I hope it will be included in a future version of Home Assistant.
hopefully this can be added soon as also looking forward to its integration
Hey @elupus we are eagerly awaiting the approval on the remootio integration for HA. hopefully it gets approval soon soon soon. nadge nudge wink wink!!!
Hey @elupus we are eagerly awaiting the approval on the remootio integration for HA. hopefully it gets approval soon soon soon. nadge nudge wink wink!!!
whats taking so long to get this approved and integrated into HA?
Can you rebase for the conflicts.
@elupus Can you please review my last changes. It would be nice that this integration will be included in the next version of Home Assistant. Thank you!
Thanks for everyone's efforts! Will this make it into the May release?
There are some outstanding review issues to solve first.
Has work on this gone stale @ivgg-me ?
hope not, we seems so close
hope not, we seems so close
Agree.. So much good work has already been done by @ivgg-me. Looks like very little now to get it across the line :D
hope not, we seems so close
Agree.. So much good work has already been done by @ivgg-me. Looks like very little now to get it across the line :D
I'm working on it. I will push some changes in the next days and hope then this request will be accepted and it can be merged into the core.
There are some outstanding review issues to solve first.
@elupus: Can you please review this request again. Thank you!
Wondering whether there is any update here, @elupus. Would be grateful for a successful integration! (And thank you, Joakim, for all your hard work.)
@jamesbeldock I do understand you want help moving things forward, but please don't ping people for reviews. It can come across demanding (even if that is not the intention). So, please don't do that. Thanks for understand and being patient 👍
Hello @ivgg-me,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:
-
560200b235ed6525b7829b4702ebc437ffad9654
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
c50b6b5efb3b2301ee476c1f6a9e69687e264fe0
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
d4ddb415f3ba48c75f465b2720b3cd384274a53d
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
75291f1fb318571c8f3622d37ed509d6802ab970
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
fbbb9cfc7cc50bb08f59fa83c03535d128b5631b
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
2f36dd556903b99e33e1f7517f901e776b101908
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
0c08f019aecfeb08c1f8a084a6474cf3b09c4b89
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
44e578b0d777f28ec12a86f704df614b5d27eb46
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
d1627453a13b1619cbae1050e389574601787a12
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
1b8652ee40c454dee8a191da9beed006ab37ad5e
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
9442e81ed6b33fbbfcf909c28dba1d7c7d913aa7
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
7ca77597fc661201f199e37aff1986a794f778bd
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
3db22ba2f4d9c0322e7f9e61848f14b8b2226c53
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
e3e7d4de57767723c6dac5626c1083657f13a071
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
61350574f23837329fca2e4cd03914ea58574226
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
2ced20f8caee4adf5d5e5fe2b2982e2f3b91408a
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?. -
dad2670466cf0a76c4d75f1975d4acd3d0c014a3
- This commit has something that looks like an email address ([email protected]). Maybe try linking that to GitHub?.
Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:
-
If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.
-
If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.
- If you only made a single commit you should be able to run
(substituting Author Name and [email protected] for your actual information) to set the authorship information.git commit --amend --author="Author Name <[email protected]>"
- If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:
- You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
- You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.
- Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.
- If you only made a single commit you should be able to run
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:
Hi @GitHub-Action,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
What else do I have to do to get this MR approved?
Adjust to data update coordinator, or at least fix the issue with terminating the client in the wrong place. Now you also need fix CLA issue from the last push.
Adjust to data update coordinator, or at least fix the issue with terminating the client in the wrong place. Now you also need fix CLA issue from the last push.
@elupus : Can you please answer my question from June 12 so I understand how the workflow in HASS is? This would then also make the need for the adjustment you want clearer to me. Thank you!
Adjust to data update coordinator, or at least fix the issue with terminating the client in the wrong place. Now you also need fix CLA issue from the last push.
@elupus : Can you please answer my question from June 12 so I understand how the workflow in HASS is? This would then also make the need for the adjustment you want clearer to me. Thank you!
@elupus: Please!
I think you got the description mostly correct.
async_unload_entry will be called of you ask to reload or disable a config entry. It should first ask all platforms (cover, switch, ...) to unload (which will remove all entites, calling the will remove callback on all entities registered on that config entry and platform). Once that is complete, the integration async_unload_entry will (should) continue to disconnect any connections and remnant state of the integration.
It should be done in this order to avoid any entities being dependent on unloaded global state/connections.
Hi zlodag
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
@zlodag Please! => https://github.com/home-assistant/core/pull/63155#issuecomment-1293739481
Thank you!
@elupus : Can you please review and approve this MR. I think the integration is now suitable to be part of HASS. Thank you!
Hi zlodag
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!
@ivgg-me Maybe just squash those commits so it's not blocked on the CLA?
Please stop spamming me with your commit messages. Every commit with my handle in it leads to a mail.