From 47f52eb576540b86019a80df370ec62e0f9f83f6 Mon Sep 17 00:00:00 2001 From: giuseppeg88 Date: Fri, 7 Nov 2025 14:51:26 +0100 Subject: [PATCH] Rename 'action' to 'target_state' in documentation (#41661) --- source/_integrations/manual.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/manual.markdown b/source/_integrations/manual.markdown index 08e2885ee80..e8f98d91aee 100644 --- a/source/_integrations/manual.markdown +++ b/source/_integrations/manual.markdown @@ -108,7 +108,7 @@ The `manual_alarm_bad_code_attempt` event is fired when an attempt to change the #### Event data - **entity_id** (string): The entity ID of the alarm control panel (for example, `alarm_control_panel.my_alarm`). -- **action** (string): The attempted action or target state (for example, `disarmed`, `armed_away`, `armed_home`). +- **target_state** (string): The attempted target state (for example, `disarmed`, `armed_away`, `armed_home`). - **user_id** (string): The user ID who initiated the service call (if available). Example automation trigger: @@ -125,7 +125,7 @@ automation: message: > Invalid alarm code attempt for {{ trigger.event.data.entity_id }} by user ID {{ trigger.event.data.user_id }} - while attempting action {{ trigger.event.data.action }}. + while attempting to set state {{ trigger.event.data.target_state }}. ``` ## State machine