Add documentation for new services for bosch_alarm (#38368)

This commit is contained in:
Sanjay Govind 2025-05-20 21:09:52 +12:00 committed by GitHub
parent 9615d59e4a
commit f52653ecf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 panels 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