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

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

fabianocattaneo
Copy link

@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 Show resolved Hide resolved
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.

None yet

1 participant