-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
updated keba implementation for new config option and new switch #38494
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
base: next
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for home-assistant-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe PR updates the Keba integration documentation by adding support for a new "Switch" platform in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HomeAssistant
participant KebaIntegration
User->>HomeAssistant: Configure Keba Integration (set add_lock_to_homeassistant)
HomeAssistant->>KebaIntegration: Initialize integration
KebaIntegration->>KebaIntegration: Check for RFID reader in Wallbox
alt RFID reader available
KebaIntegration->>HomeAssistant: Enable full lock functionality
else RFID reader missing
KebaIntegration->>HomeAssistant: Disable lock and expose Switch for charging authorization
end
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 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 (
|
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
🧹 Nitpick comments (2)
source/_integrations/keba.markdown (2)
30-30
: Ensure Consistent Terminology for AuthorizationThe text on this line uses “authorise / deauthorise” while elsewhere (e.g., in the switch platform description) the American English variant “authorize / deauthorize” is used. To maintain consistency across the documentation, consider updating this text to use the same variant as the rest of the integration docs.
-If your Wallbox does not include an RFID reader, the lock is useless. You can only use authorise / deauthorise with the switch implementation. Without an RFID reader, you can remove the lock from Home Assistant using the `add_lock_to_homeassistant` configuration option. +If your Wallbox does not include an RFID reader, the lock is useless. You can only use authorize / deauthorize with the switch implementation. Without an RFID reader, you can remove the lock from Home Assistant using the `add_lock_to_homeassistant` configuration option.
39-39
: Refine the Switch Description for ClarityThe description for the Switch platform currently reads:
"Switch: Authorize, deauthorize charging and shows also the status of the Wallbox"For better readability and consistency, consider a minor wording change:
-Switch: Authorize, deauthorize charging and shows also the status of the Wallbox +Switch: Authorize, deauthorize charging and displays the status of the WallboxThis ensures the language is smooth and consistent with the rest of the documentation.
🧰 Tools
🪛 LanguageTool
[uncategorized] ~39-~39: Do not mix variants of the same word (‘authorize’ and ‘authorise’) within a single text.
Context: ... with a built-in LED display. - Switch: Authorize, deauthorize charging and shows also th...(EN_WORD_COHERENCY)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
source/_integrations/keba.markdown
(4 hunks)
🧰 Additional context used
🪛 LanguageTool
source/_integrations/keba.markdown
[uncategorized] ~37-~37: Do not mix variants of the same word (‘authorize’ and ‘authorise’) within a single text.
Context: ...on and total energy charged. - Actions: authorize, deauthorize, set energy target, set th...
(EN_WORD_COHERENCY)
[uncategorized] ~39-~39: Do not mix variants of the same word (‘authorize’ and ‘authorise’) within a single text.
Context: ... with a built-in LED display. - Switch: Authorize, deauthorize charging and shows also th...
(EN_WORD_COHERENCY)
🔇 Additional comments (3)
source/_integrations/keba.markdown (3)
9-9
: Add "Switch" to Home Assistant CategoriesThe addition of
- Switch
to theha_category
list clearly exposes the new switch functionality. This helps users quickly understand all the available features provided by the Keba integration.
20-20
: Include "switch" in the Platforms ListAdding
- switch
to theha_platforms
section is consistent with the new functionality. This change ensures that the switch platform is formally supported and discoverable.
92-96
: Document the New Configuration OptionThe new
add_lock_to_homeassistant
configuration option is clearly defined. Its description indicates that it removes the lock from Home Assistant—which is useful when the Wallbox lacks an RFID reader. This addition is well integrated with the explanatory text above.
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.
Thank you, @tzahari 👍
33b0aae
to
abe762d
Compare
Thanks for reviewing @c0ffeeca7. |
Proposed change
Added new config option to remove the lock from Home Assistant and for the new switch
Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
current
branch.next
branch.Summary by CodeRabbit
New Features
Documentation