Skip to content

Commit 47f52eb

Browse files
authored
Rename 'action' to 'target_state' in documentation (#41661)
1 parent c1a6b84 commit 47f52eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/_integrations/manual.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ The `manual_alarm_bad_code_attempt` event is fired when an attempt to change the
108108
#### Event data
109109

110110
- **entity_id** (string): The entity ID of the alarm control panel (for example, `alarm_control_panel.my_alarm`).
111-
- **action** (string): The attempted action or target state (for example, `disarmed`, `armed_away`, `armed_home`).
111+
- **target_state** (string): The attempted target state (for example, `disarmed`, `armed_away`, `armed_home`).
112112
- **user_id** (string): The user ID who initiated the service call (if available).
113113

114114
Example automation trigger:
@@ -125,7 +125,7 @@ automation:
125125
message: >
126126
Invalid alarm code attempt for {{ trigger.event.data.entity_id }}
127127
by user ID {{ trigger.event.data.user_id }}
128-
while attempting action {{ trigger.event.data.action }}.
128+
while attempting to set state {{ trigger.event.data.target_state }}.
129129
```
130130

131131
## State machine

0 commit comments

Comments
 (0)