home-assistant.github.io/source/_components/group.markdown
Fabian Affolter ebe0c700a1 Add new view
2016-01-26 09:15:21 +01:00

1.7 KiB

layout title description date sidebar comments sharing footer logo ha_category
component Group Instructions how to setup groups within Home Assistant. 2015-03-23 19:59 true false true true home-assistant.png Organization

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.

# 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

With Home Assistant 0.12.0 a new feature view was introduced.

# Example configuration.yaml entry
group:
  kitchen:
    name: Kitchen
    view: no
    entities:
      - switch.kitchen_pin_3
  upstairs:
    name: Kids
    icon: mdi:account-multiple
    view: yes
    entities:
      - input_boolean.notify_home
      - camera.demo_camera
      - device_tracker.demo_paulus
      - group.garden

Configuration variables:

  • name (Optional): Name of the group.
  • icon (Optional): An optional icon to show in the Frontend.
  • view (Optional): If yes then the entry will be shown as a view.
  • entities array (Required): List of entites to group.

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).

# Example configuration.yaml entry
group:
  living_room:
    - light.bowl
    - light.ceiling
    - light.tv_back_light
  children:
    - device_tracker.child_1
    - device_tracker.child_2