Version
0.8.x

Output group module


Output

You can groups outputs of type switch or light.

Example config

output_group:
  - id: LightsGroup
    output_type: light
    all_on_behaviour: False
    outputs:
      - light1
      - light2

Configuration variables:

  • id (Optional, string, default: value of {kind}_{pin}) - uniquely identifies this device in MQTT and Home Assistant.
  • outputs (Required, list) - List of outputs id to group.
  • output_type (Required, string, allowed_values: ['switch', 'light', 'none']) - What type of output it is. Switch/light shows as such device in Home Assistant. Value none means that this output is not published to MQTT. It’s internal use only for other component eg cover.
  • all_on_behaviour (Required, boolean, default: False) - Specify behaviour if all outputs are on or if any output is on. If set true then display as ON when all outputs are on, otherwise if any is on then group is on.