2 circuits, 2 flood lights for back yard automation

Hello all,

I am new to HA but learning fairly quick. I have all of the devices configured and they are in working order. Want to start automating things and this is my first automation. Keep in mind I already attempted some things but they have not worked out.

2 separate circuits have 2 separate flood lights for the back yard. I would like to have either of those circuits turn on or off both lights when ever they are used. How does one go about this? Through automation or script or something else. I use Zwave devices if that matters.

Thank you.

You could create a (light) group and control it with a button.

Thanks for a quick reply. Learn new thing every day. Anything special needed for that?

You can play with the different group types:

Group

Light Group

Example:


group:
  leselampen:
    name: Leselampen
    icon: mdi:fruit-pineapple   #### only possible in groups
    all: false   #### only possible in groups; default: true
    entities:
      - light.leselampe_1
      - light.leselampe_2


light:
  - platform: group
    unique_id: lightgroup_leselampen   #### only possible in light groups
    name: Leselampen
    entities:
      - light.leselampe_1
      - light.leselampe_2


Both will create a new entity:

group.leselampen
light.leselampen
1 Like

Thank you,