mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Minimizing of the configuration sample (#1035)
This commit is contained in:
parent
fab9b3034e
commit
1ee63170cf
@ -25,7 +25,6 @@ group:
|
||||
entities:
|
||||
- group.awesome_people
|
||||
- group.climate
|
||||
|
||||
kitchen:
|
||||
name: Kitchen
|
||||
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.
|
||||
|
||||
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).
|
||||
|
||||
```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
|
||||
|
||||
Rooms:
|
||||
view: yes
|
||||
view: yes
|
||||
name: Rooms
|
||||
entities:
|
||||
- group.living_room
|
||||
- group.bedroom
|
||||
- group.living_room
|
||||
- group.bedroom
|
||||
```
|
||||
|
@ -23,7 +23,6 @@ scene:
|
||||
state: on
|
||||
xy_color: [0.33, 0.66]
|
||||
brightness: 200
|
||||
|
||||
- name: Movies
|
||||
entities:
|
||||
light.tv_back_light:
|
||||
@ -32,6 +31,11 @@ scene:
|
||||
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).
|
||||
|
||||
```yaml
|
||||
|
@ -45,7 +45,7 @@ Configuration variables:
|
||||
- **longitude** (*Required*): Longitude of the center point of the zone.
|
||||
- **radius** (*Optional*): Optional radius in meters. Defaults to 100 meters.
|
||||
- **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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user