-
Notifications
You must be signed in to change notification settings - Fork 8
Solution for issue #567 #572
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
Conversation
WalkthroughThe recent updates primarily focus on enhancing code quality within the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #572 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 3216 3219 +3
=========================================
+ Hits 3216 3219 +3 ☔ View full report in Codecov by Sentry. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- CHANGELOG.md (1 hunks)
- plugwise/helper.py (2 hunks)
Additional context used
LanguageTool
CHANGELOG.md
[style] ~288-~288: Consider using just “revert”.
Context: .../issues/81672) - _full_update_device(): revert back to v0.21.4 logic - async_update(): not ...
[style] ~292-~292: Consider an alternative to strengthen your wording.
Context: ... Core #81712 ## v0.25.10: Thermostats: more improvements - Anna + Elga: hide cooling_enable swi...
[style] ~359-~359: Consider using just “reverted”.
Context: ...g a heating and a cooling setpoint, was reverted back to providing a single setpoint. ## v0....
[style] ~400-~400: Consider a shorter alternative to avoid wordiness.
Context: ...rovide the collected schedules as input in order to find the last-modified valid schedule. ...
[uncategorized] ~401-~401: Loose punctuation mark.
Context: ...ied valid schedule. -_rule_ids_by_x()
: replace None by NONE, allowing for simp...
[grammar] ~449-~449: An apostrophe ‘s’ denotes possession. Did you mean to use the plural form of the noun (no apostrophe)?
Context: ...dule_state() to handle multi thermostat scenario's - Improve tracking of the last used sch...
[style] ~475-~475: Consider an alternative to strengthen your wording.
Context: ...for #158 ## v0.16.7 - Smile: Bugfixes, more changes and improvements - Fix for #158: error...
[duplication] ~477-~477: Possible typo: you repeated a word
Context: ...ror setting up for systems with an Anna and and Elga (heatpump). - Block connecting to ...
[style] ~514-~514: ‘off of’ might be wordy. Consider a shorter alternative.
Context: ...upport (representation and switching on/off of a schedule has changed) - Anna: Fix coo...
[uncategorized] ~622-~622: Do not mix variants of the same word (‘initialisation’ and ‘initialization’) within a single text.
Context: ...hat is needed: full_update_device() for initialisation, update-device() for updating of live d...
[uncategorized] ~630-~630: Use a comma before ‘so’ if it connects two independent clauses (unless they are closely connected and short).
Context: ... state - Improvement: Prioritize request so requests like switching a relay get sen...
[grammar] ~630-~630: Double-check that this verb is correct. Did you mean to use the past participle or the infinitive form here?
Context: ... so requests like switching a relay get send out before power measurement requests. ...
[uncategorized] ~651-~651: This expression is usually spelled with a hyphen.
Context: ...urement -name
(string) - Name of device based om hardware model and MAC address -...
[grammar] ~913-~913: The singular proper name ‘Version’ must be used with a third-person or a past tense verb.
Context: ....16 - Fix central components - Version skip to align with-beta
-component ### 0....
[grammar] ~939-~939: The singular proper name ‘Version’ must be used with a third-person or a past tense verb.
Context: ...s - Tests updated accordingly - Version skip to align with-beta
-component ### 0....
[typographical] ~982-~982: Unpaired symbol: ‘'’ seems to be missing
Context: ...unctionality - Add individual Smiles as 'hub'-components ### 0.0.26 - Add relay ...
Additional comments not posted (3)
CHANGELOG.md (1)
3-6
: LGTM! The addition of the ongoing work section in the CHANGELOG.md aligns with the PR objectives and reflects the continuous improvements as per issue #567.plugwise/helper.py (2)
118-142
: Refactored HTTP method handling using Python 3.10'smatch
statement enhances readability and maintainability.
171-186
: Refactored response status code handling using Python 3.10'smatch
statement enhances readability and maintainability.
Summary by CodeRabbit
Documentation
Refactor