mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add a generic sample and some more details
This commit is contained in:
parent
d71a30d7b3
commit
145f1f046a
@ -10,18 +10,35 @@ footer: true
|
|||||||
ha_category: Organization
|
ha_category: Organization
|
||||||
---
|
---
|
||||||
|
|
||||||
Groups allow the user to combine multiple entities into one. If all entities are switches or lights they can be controlled as one with a switch at the top of the card.
|
Groups allow the user to combine multiple entities into one.
|
||||||
|
|
||||||
|
Check the **Set State** page from the **Developer Tools** and browse the **Current entities:** listing for all available entities.
|
||||||
|
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
group:
|
||||||
|
information:
|
||||||
|
- sensor.time
|
||||||
|
living_room:
|
||||||
|
- binary_sensor.tv
|
||||||
|
- sensor.living_room_temperature
|
||||||
|
kitchen:
|
||||||
|
- switch.kitchen_pin_3
|
||||||
|
- sensor.oven_temperature
|
||||||
|
```
|
||||||
|
|
||||||
|
If all entities are switches or lights they can be controlled as one with a switch at the top of the card. Grouped states should share the same type of states (ON/OFF or HOME/NOT_HOME).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
# A comma seperated list of states that have to be tracked as a single group
|
|
||||||
# Grouped states should share the same type of states (ON/OFF or HOME/NOT_HOME)
|
|
||||||
group:
|
group:
|
||||||
living_room:
|
living_room:
|
||||||
- light.Bowl
|
- light.bowl
|
||||||
- light.Ceiling
|
- light.ceiling
|
||||||
- light.TV_back_light
|
- light.tv_back_light
|
||||||
children:
|
children:
|
||||||
- device_tracker.child_1
|
- device_tracker.child_1
|
||||||
- device_tracker.child_2
|
- device_tracker.child_2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user