mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Update Python_component_simple_alarm component configuration (#7245)
This commit is contained in:
parent
773f029d80
commit
bbe54a82db
@ -23,10 +23,16 @@ simple_alarm:
|
||||
unknown_light: group.living_room
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **known_light** (*Optional*): Which light/light group has to flash when a known device comes home.
|
||||
- **unknown_light** (*Optional*): Which light/light group has to flash red when light turns on while no one home.
|
||||
{% configuration %}
|
||||
known_light:
|
||||
description: Which light/light group has to flash when a known device comes home.
|
||||
required: false
|
||||
type: string
|
||||
unknown_light:
|
||||
description: Which light/light group has to flash red when light turns on while no one home.
|
||||
required: false
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
Create the file `<config dir>/custom_components/simple_alarm.py` and copy paste the content below:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user