Add unique id to manual alarm (#34114)

This commit is contained in:
G Johansson 2024-08-12 09:12:49 +02:00 committed by GitHub
parent 7f86e89ffa
commit 370d2d7307
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,10 @@ name:
required: false required: false
type: string type: string
default: HA Alarm default: HA Alarm
unique_id:
description: Create a unique id for the entity.
required: false
type: string
code: code:
description: > description: >
If defined, specifies a code to enable or disable the alarm in the frontend. If defined, specifies a code to enable or disable the alarm in the frontend.
@ -147,6 +151,7 @@ In the configuration example below:
alarm_control_panel: alarm_control_panel:
- platform: manual - platform: manual
name: Home Alarm name: Home Alarm
unique_id: a_very_unique_id
code: "1234" code: "1234"
arming_time: 30 arming_time: 30
delay_time: 20 delay_time: 20