From f52653ecf00b53a5283d47a6ffbb7a99b65ddc2d Mon Sep 17 00:00:00 2001 From: Sanjay Govind Date: Tue, 20 May 2025 21:09:52 +1200 Subject: [PATCH] Add documentation for new services for bosch_alarm (#38368) --- source/_integrations/bosch_alarm.markdown | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/source/_integrations/bosch_alarm.markdown b/source/_integrations/bosch_alarm.markdown index cab10657ac9..1688537a4c0 100644 --- a/source/_integrations/bosch_alarm.markdown +++ b/source/_integrations/bosch_alarm.markdown @@ -88,6 +88,32 @@ A switch is added for each output configured on the panel. Note that for some pa Three switches are added per door, which allow for locking, securing, or momentarily unlocking the door. +## Actions + +The integration provides the following actions. + +### Action: Set panel date and time + +The `bosch_alarm.set_date_time` action is used to update the date and time on the panel. + +- **Data attribute**: `config_entry_id` + - **Description**: The ID of the config entry of the panel being updated. + - **Optional**: No + +- **Data attribute**: `datetime` + - **Description**: The date and time to set. Defaults to the current date and time if it is not set. + - **Optional**: Yes + +{% raw %} + +```yaml +# Example: Update the panel’s date and time +service: bosch_alarm.set_date_time +data: + config_entry_id: "YOUR_CONFIG_ENTRY_ID" + datetime: "2025-05-01T12:00:00" +``` +{% endraw %} ## Authentication