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 power data to NLPD entities #477

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Add power data to NLPD entities #477

merged 1 commit into from
Dec 15, 2023

Conversation

cgtobi
Copy link
Collaborator

@cgtobi cgtobi commented Dec 15, 2023

@cgtobi cgtobi requested a review from jabesq as a code owner December 15, 2023 09:33
@cgtobi cgtobi merged commit 1342d20 into development Dec 15, 2023
5 checks passed
@cgtobi cgtobi deleted the update_NLPD branch December 15, 2023 09:34
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

PR Type: Enhancement

PR Summary: This pull request introduces an enhancement to the NLPD entities by adding power data capabilities. It involves updating the class inheritance to include a PowerMixin, which extends the functionality of the NLPD class to handle power-related data. The changelog has been updated to reflect this change.

General suggestions:

  • Consider providing a more detailed description in the changelog to help users understand the nature of the power data added, how it integrates with existing features, and any potential impact on their current setup.
  • Ensure that the integration of the PowerMixin with the NLPD class is seamless and that all new methods and properties provided by the PowerMixin are fully compatible and tested with the NLPD class.
  • Review the broader impact of this change on the system, particularly in terms of interactions with other modules and the overall performance of the system.

Your trial expires on December 16, 2023. Please email tim@sourcery.ai to continue using Sourcery ✨

@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

-
- Add power data to NLPD entities
Copy link

Choose a reason for hiding this comment

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

suggestion (llm): The changelog entry for adding power data to NLPD entities could be more descriptive. It would be beneficial to specify what kind of power data was added, how it affects the existing functionality, and any potential implications for the users.

cgtobi added a commit that referenced this pull request Dec 15, 2023
* cd: Run publish-to-test-pypi only on development branch

* fix devcontainer (#468)

* Add start and end times to room class (#469)

* Remove deprecated code (#461)

* Remove deprecated code

* Remove old codeql config

* Remove unused fixture

* Minor clean up

* Refactor async_post_request

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>

* Split tests and clean up (#471)

* split tests

* clean up cruft

* Fix NLPD to provide energy readings

* Add BNLD - Bticino dimmable light

* Update readme (#472)

* Clean up somfy shutter
* Add new bticino scope
* update readme

* chore(deps): Bump actions/setup-python from 4.7.1 to 5.0.0 (#474)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.7.1...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add missing device type mapping for NIS (#476)

* Add power data to NLPD entities (#477)

* Clean up (#479)

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Hugo Dupras <jabesq@gmail.com>
Co-authored-by: deosrc <deosrc@g-de.co.uk>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cgtobi added a commit that referenced this pull request Dec 20, 2023
* cd: Run publish-to-test-pypi only on development branch

* fix devcontainer (#468)

* Add start and end times to room class (#469)

* Remove deprecated code (#461)

* Remove deprecated code

* Remove old codeql config

* Remove unused fixture

* Minor clean up

* Refactor async_post_request

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>

* Split tests and clean up (#471)

* split tests

* clean up cruft

* Fix NLPD to provide energy readings

* Add BNLD - Bticino dimmable light

* Update readme (#472)

* Clean up somfy shutter
* Add new bticino scope
* update readme

* chore(deps): Bump actions/setup-python from 4.7.1 to 5.0.0 (#474)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4.7.1...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add missing device type mapping for NIS (#476)

* Add power data to NLPD entities (#477)

* Clean up (#479)

* Update CHANGELOG.md

* Fix nlfe (#480)

* Add missing NLFE Legrand dimmer switch

* clean up

* Update changelog

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Hugo Dupras <jabesq@gmail.com>
Co-authored-by: deosrc <deosrc@g-de.co.uk>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cgtobi added a commit that referenced this pull request Dec 26, 2023
* add missing device type mapping for NIS (#476)

* Add power data to NLPD entities (#477)

* Add missing NLFE Legrand dimmer switch

* clean up

* Add shutter capabilities to BNAB, BNAS and BNMS (#484)

* fix: update name prefixing (#483)

---------

Signed-off-by: Tobias Sauerwein <cgtobi@gmail.com>
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.

NLPD Device - Dry contact - information on power is missing
1 participant