mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Changed on/off to true/false (#7335)
This commit is contained in:
parent
aded48823d
commit
d9ff319511
@ -12,7 +12,7 @@ ha_category: Organization
|
|||||||
ha_qa_scale: internal
|
ha_qa_scale: internal
|
||||||
---
|
---
|
||||||
|
|
||||||
Groups allow the user to combine multiple entities into one. A group can be promoted to a **view** by setting `view: yes` under the group definition. This will make the group available as a new tab in the frontend.
|
Groups allow the user to combine multiple entities into one. A group can be promoted to a **view** by setting `view: true` under the group definition. This will make the group available as a new tab in the frontend.
|
||||||
|
|
||||||
Check the **Set State** <img src='/images/screenshots/developer-tool-states-icon.png' class='no-shadow' height='38' /> page from the **Developer Tools** and browse the **Current entities:** listing for all available entities.
|
Check the **Set State** <img src='/images/screenshots/developer-tool-states-icon.png' class='no-shadow' height='38' /> page from the **Developer Tools** and browse the **Current entities:** listing for all available entities.
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ By default, every group appears in the HOME tab. If you create a group `default_
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
group:
|
group:
|
||||||
default_view:
|
default_view:
|
||||||
view: yes
|
view: true
|
||||||
icon: mdi:home
|
icon: mdi:home
|
||||||
entities:
|
entities:
|
||||||
- group.kitchen
|
- group.kitchen
|
||||||
@ -35,7 +35,7 @@ group:
|
|||||||
upstairs:
|
upstairs:
|
||||||
name: Kids
|
name: Kids
|
||||||
icon: mdi:account-multiple
|
icon: mdi:account-multiple
|
||||||
view: yes
|
view: true
|
||||||
entities:
|
entities:
|
||||||
- input_boolean.notify_home
|
- input_boolean.notify_home
|
||||||
- camera.demo_camera
|
- camera.demo_camera
|
||||||
@ -43,13 +43,13 @@ group:
|
|||||||
- group.garden
|
- group.garden
|
||||||
climate:
|
climate:
|
||||||
name: Climate
|
name: Climate
|
||||||
view: no
|
view: false
|
||||||
entities:
|
entities:
|
||||||
- sensor.bedroom_temp
|
- sensor.bedroom_temp
|
||||||
- sensor.porch_temp
|
- sensor.porch_temp
|
||||||
awesome_people:
|
awesome_people:
|
||||||
name: Awesome People
|
name: Awesome People
|
||||||
view: no
|
view: false
|
||||||
entities:
|
entities:
|
||||||
- device_tracker.dad_smith
|
- device_tracker.dad_smith
|
||||||
- device_tracker.mom_smith
|
- device_tracker.mom_smith
|
||||||
@ -89,7 +89,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 you want to hide this switch, set `control` to `hidden`.
|
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 you want to hide this switch, set `control` to `hidden`.
|
||||||
|
|
||||||
You can create views (tabs) that contain other groups (but not other groups which are marked as `view: yes`).
|
You can create views (tabs) that contain other groups (but not other groups which are marked as `view: true`).
|
||||||
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
|
||||||
@ -101,7 +101,7 @@ Notice in the example below that in order to refer to the group "Living Room", y
|
|||||||
- binary_sensor.motion_living
|
- binary_sensor.motion_living
|
||||||
Bedroom: light.light_bedroom, switch.sleeping
|
Bedroom: light.light_bedroom, switch.sleeping
|
||||||
Rooms:
|
Rooms:
|
||||||
view: yes
|
view: true
|
||||||
name: Rooms
|
name: Rooms
|
||||||
entities:
|
entities:
|
||||||
- group.living_room
|
- group.living_room
|
||||||
@ -132,7 +132,7 @@ customize:
|
|||||||
group:
|
group:
|
||||||
automation_view:
|
automation_view:
|
||||||
name: Automation
|
name: Automation
|
||||||
view: yes
|
view: true
|
||||||
entities:
|
entities:
|
||||||
- group.all_automations
|
- group.all_automations
|
||||||
- group.all_scripts
|
- group.all_scripts
|
||||||
@ -155,7 +155,7 @@ customize:
|
|||||||
group:
|
group:
|
||||||
automation_view:
|
automation_view:
|
||||||
name: Automation
|
name: Automation
|
||||||
view: yes
|
view: true
|
||||||
entities:
|
entities:
|
||||||
- group.all_automations
|
- group.all_automations
|
||||||
- group.all_scripts
|
- group.all_scripts
|
||||||
|
@ -19,17 +19,17 @@ You can create scenes that capture the states you want certain entities to be. F
|
|||||||
scene:
|
scene:
|
||||||
- name: Romantic
|
- name: Romantic
|
||||||
entities:
|
entities:
|
||||||
light.tv_back_light: on
|
light.tv_back_light: true
|
||||||
light.ceiling:
|
light.ceiling:
|
||||||
state: on
|
state: true
|
||||||
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:
|
||||||
state: on
|
state: true
|
||||||
brightness: 100
|
brightness: 100
|
||||||
light.ceiling: off
|
light.ceiling: false
|
||||||
media_player.sony_bravia_tv:
|
media_player.sony_bravia_tv:
|
||||||
source: HDMI 1
|
source: HDMI 1
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user