-
Notifications
You must be signed in to change notification settings - Fork 4
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 tests for cached state identify unsupported check #468
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe pull request modifies the Changes
Sequence DiagramsequenceDiagram
participant Client
participant HomeWizardEnergyV1
participant Device
Client->>HomeWizardEnergyV1: state() or identify()
HomeWizardEnergyV1->>Device: supports_state() or supports_identify()
Device-->>HomeWizardEnergyV1: Support status
alt Not Supported
HomeWizardEnergyV1-->>Client: Raise UnsupportedError
else Supported
HomeWizardEnergyV1->>Device: Perform action
Device-->>HomeWizardEnergyV1: Action result
HomeWizardEnergyV1-->>Client: Return result
end
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🪧 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #468 +/- ##
==========================================
+ Coverage 98.51% 99.25% +0.74%
==========================================
Files 8 8
Lines 539 539
Branches 38 38
==========================================
+ Hits 531 535 +4
+ Misses 5 3 -2
+ Partials 3 1 -2 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit
New Features
Tests
Bug Fixes