-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
docs: Add manual alarm bad code attempt event #39426
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 project configuration. |
📝 WalkthroughWalkthroughDocumentation for the manual alarm control panel integration has been updated to include a new event, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant AlarmPanel
participant EventSystem
participant Automation
User->>AlarmPanel: Attempt to change alarm state (with code)
AlarmPanel-->>User: Validate code (failure)
AlarmPanel->>EventSystem: Fire manual_alarm_bad_code_attempt event (with entity_id, action, user_id)
EventSystem->>Automation: Trigger automation (e.g., notify user)
📜 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:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Cache: Disabled due to data retention organization setting
Knowledge Base: Disabled due to data retention organization setting
📒 Files selected for processing (1)
source/_integrations/manual.markdown
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Redirect rules - home-assistant-docs
- GitHub Check: Header rules - home-assistant-docs
- GitHub Check: Pages changed - home-assistant-docs
🔇 Additional comments (2)
source/_integrations/manual.markdown (2)
104-107
: Event heading and description look solid.
The newmanual_alarm_bad_code_attempt
heading and its descriptive text are clear and follow the existing pattern.
108-115
: Event Data table is well-formatted and accurate.
The table correctly listsentity_id
,action
, anduser_id
with appropriate types and descriptions.
Proposed change
This Pull Request adds new documentation for the
manual_alarm_bad_code_attempt
event, which is fired by themanual
alarm control panel integration.This event allows users to create automations to react to or monitor instances where an invalid code is provided during an attempt to change the alarm's state (e.g., arm or disarm). The documentation includes details about when the event is fired, the data it contains (
entity_id
,action
,user_id
), and an example automation to demonstrate its usage.This new event is part of a feature improvement in the
manual
integration aimed at enhancing security and monitoring capabilities.Type of change
current
branch).current
branch).next
branch).next
branch).Additional information
Checklist
next
branch.Summary by CodeRabbit