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

Use the Home+Control /setstate API to modify room heating if home has a BNS #496

Merged
merged 6 commits into from
Aug 18, 2024

Conversation

fabianocattaneo
Copy link
Contributor

@fabianocattaneo fabianocattaneo commented Apr 25, 2024

Use the Home+Control /setstate API (instead of /setroomthermpoint Energy API) to modify room heating if home has a BNS (Smarther with Netatmo thermostat)

Use _async_therm_set instead of _async_set_thermpoint if the home has a BNS (Smarther with Netatmo thermostat)
@fabianocattaneo fabianocattaneo changed the title Use the Home+Control /setstate API to modify room heating in home has a BNS Use the Home+Control /setstate API to modify room heating if home has a BNS Apr 25, 2024
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.

Hey @fabianocattaneo - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 2 issues found
  • 🟢 Security: all looks good
  • 🟡 Testing: 1 issue found
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

src/pyatmo/home.py Show resolved Hide resolved
src/pyatmo/room.py Outdated Show resolved Hide resolved
cgtobi
cgtobi previously approved these changes Aug 18, 2024
@cgtobi cgtobi marked this pull request as draft August 18, 2024 21:23
@cgtobi cgtobi marked this pull request as ready for review August 18, 2024 21:23
sourcery-ai[bot]

This comment was marked as resolved.

@cgtobi cgtobi self-requested a review August 18, 2024 21:47
@cgtobi cgtobi dismissed their stale review August 18, 2024 21:48

Force reevaluation

cgtobi
cgtobi previously approved these changes Aug 18, 2024
src/pyatmo/home.py Outdated Show resolved Hide resolved
src/pyatmo/room.py Outdated Show resolved Hide resolved
src/pyatmo/room.py Outdated Show resolved Hide resolved
@cgtobi cgtobi merged commit 07fb2b6 into jabesq-org:development Aug 18, 2024
4 checks passed
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.

2 participants