Skip to content

Add Reolink light platform#88619

Merged
frenck merged 19 commits into
home-assistant:devfrom
starkillerOG:reolink_light
Mar 6, 2023
Merged

Add Reolink light platform#88619
frenck merged 19 commits into
home-assistant:devfrom
starkillerOG:reolink_light

Conversation

@starkillerOG
Copy link
Copy Markdown
Contributor

@starkillerOG starkillerOG commented Feb 22, 2023

Breaking change

Proposed change

Add reolink light entities for:

  • Floodlight
  • Infra red lights in night mode
  • Status led

Completing all reolink features with these PRs:

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -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.

To help with the load of incoming pull requests:

Comment thread homeassistant/components/reolink/light.py Outdated
Comment thread homeassistant/components/reolink/light.py Outdated
@starkillerOG starkillerOG requested a review from joncar February 23, 2023 20:59
Copy link
Copy Markdown
Member

@Kane610 Kane610 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good, some minor comments to consider.

Comment thread homeassistant/components/reolink/light.py Outdated
Comment thread homeassistant/components/reolink/light.py Outdated
Comment thread homeassistant/components/reolink/light.py
@starkillerOG starkillerOG requested a review from Kane610 February 26, 2023 19:36
@starkillerOG
Copy link
Copy Markdown
Contributor Author

@Kane610 thanks for the review, I have processed your feedback, could you have another look?

Comment thread homeassistant/components/reolink/light.py
@starkillerOG starkillerOG requested a review from Kane610 March 3, 2023 10:22
@starkillerOG
Copy link
Copy Markdown
Contributor Author

@Kane610 thanks for the additional feedback!
Do you have any other suggestions?

@Kane610
Copy link
Copy Markdown
Member

Kane610 commented Mar 3, 2023

@Kane610 thanks for the additional feedback!
Do you have any other suggestions?

I'll have a look tonight. But I don't think so.

@starkillerOG starkillerOG mentioned this pull request Mar 3, 2023
19 tasks
Copy link
Copy Markdown
Member

@Kane610 Kane610 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@starkillerOG
Copy link
Copy Markdown
Contributor Author

@Kane610 Thank you for approving this PR!
Would you be interested in also reviewing the other open PRs for new Reolink features?

@Kane610
Copy link
Copy Markdown
Member

Kane610 commented Mar 3, 2023

@Kane610 Thank you for approving this PR! Would you be interested in also reviewing the other open PRs for new Reolink features?

I can have a look, would you mind having a look at this one #88762 ;)

Copy link
Copy Markdown
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small stuff

Comment thread homeassistant/components/reolink/light.py Outdated
Comment thread homeassistant/components/reolink/light.py
Comment thread homeassistant/components/reolink/light.py Outdated
Comment thread homeassistant/components/reolink/light.py Outdated
@home-assistant home-assistant Bot marked this pull request as draft March 4, 2023 21:44
@home-assistant
Copy link
Copy Markdown
Contributor

home-assistant Bot commented Mar 4, 2023

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@starkillerOG starkillerOG marked this pull request as ready for review March 4, 2023 22:42
@home-assistant home-assistant Bot requested a review from frenck March 4, 2023 22:42
Copy link
Copy Markdown
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @starkillerOG 👍

../Frenck

@frenck frenck merged commit 76cc4c9 into home-assistant:dev Mar 6, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 7, 2023
@frenck frenck added the noteworthy Marks a PR as noteworthy and should be in the release notes (in case it normally would not appear) label Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

by-code-owner cla-signed integration: reolink new-feature new-platform noteworthy Marks a PR as noteworthy and should be in the release notes (in case it normally would not appear) Quality Scale: No score

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants