mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add variables description
This commit is contained in:
parent
f02a800d50
commit
7e1d5c2df8
@ -13,12 +13,17 @@ The component `simple_alarm` is capable of detecting intruders. It does so by ch
|
||||
|
||||
This component depends on the components [device_tracker]({{site_root}}/components/device_tracker.html) and [light]({{site_root}}/components/light.html) being setup.
|
||||
|
||||
To set it up, add the following lines to your `configuration.yaml`:
|
||||
To set it up, add the following lines to your `configuration.yaml` file:
|
||||
|
||||
```
|
||||
```yaml
|
||||
simple_alarm:
|
||||
# Which light/light group has to flash when a known device comes home
|
||||
# Example configuration.yaml entry
|
||||
known_light: light.Bowl
|
||||
# Which light/light group has to flash red when light turns on while no one home
|
||||
unknown_light: group.living_room
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **known_light** (*Required*): Which light/light group has to flash when a known device comes home.
|
||||
- **unknown_light** (*Required*): Which light/light group has to flash red when light turns on while no one home.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user