mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Add documentation for new services for bosch_alarm (#38368)
This commit is contained in:
parent
9615d59e4a
commit
f52653ecf0
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user