Minimizing of the configuration sample (#1035)

This commit is contained in:
Fabian Affolter 2016-10-02 17:13:11 +02:00 committed by GitHub
parent fab9b3034e
commit 1ee63170cf
3 changed files with 10 additions and 7 deletions

View File

@ -25,7 +25,6 @@ group:
entities: entities:
- group.awesome_people - group.awesome_people
- group.climate - group.climate
kitchen: kitchen:
name: Kitchen name: Kitchen
entities: entities:
@ -55,7 +54,7 @@ Example of groups shown as views in the frontend.
If all entities in a group are switches or lights then Home Assistant adds a switch at the top of the card that turns them all on/off at once. If all entities in a group are switches or lights then Home Assistant adds a switch at the top of the card that turns them all on/off at once.
You can create views (tabs) that contain other groups. You can create views (tabs) that contain other groups.
Notice in the example below that in order to refer to the group "Living Room", you use `group.living_room` (lowercase and spaces replaced with underscores). Notice in the example below that in order to refer to the group "Living Room", you use `group.living_room` (lowercase and spaces replaced with underscores).
```yaml ```yaml
@ -68,9 +67,9 @@ Notice in the example below that in order to refer to the group "Living Room", y
Bedroom: light.light_bedroom, switch.sleeping Bedroom: light.light_bedroom, switch.sleeping
Rooms: Rooms:
view: yes view: yes
name: Rooms name: Rooms
entities: entities:
- group.living_room - group.living_room
- group.bedroom - group.bedroom
``` ```

View File

@ -23,7 +23,6 @@ scene:
state: on state: on
xy_color: [0.33, 0.66] xy_color: [0.33, 0.66]
brightness: 200 brightness: 200
- name: Movies - name: Movies
entities: entities:
light.tv_back_light: light.tv_back_light:
@ -32,6 +31,11 @@ scene:
light.ceiling: off light.ceiling: off
``` ```
Configuration variables:
- **name** (*Required*): Friendly name of scene.
- **entities** (*Required*): Entities to control.
Scenes can be activated using the service `scene.turn_on` (there is no 'scene.turn_off' service). Scenes can be activated using the service `scene.turn_on` (there is no 'scene.turn_off' service).
```yaml ```yaml

View File

@ -45,7 +45,7 @@ Configuration variables:
- **longitude** (*Required*): Longitude of the center point of the zone. - **longitude** (*Required*): Longitude of the center point of the zone.
- **radius** (*Optional*): Optional radius in meters. Defaults to 100 meters. - **radius** (*Optional*): Optional radius in meters. Defaults to 100 meters.
- **icon** (*Optional*): Optional icon to show instead of name. - **icon** (*Optional*): Optional icon to show instead of name.
- **passive** (*Optional*): Optional boolean to only use the zone for automation and hide it from the UI and not use the zone for device tracker name. Defaults to false. - **passive** (*Optional*): Optional boolean to only use the zone for automation and hide it from the UI and not use the zone for device tracker name. Defaults to false.
#### {% linkable_title Home zone %} #### {% linkable_title Home zone %}