Virtual Switch for toggle some switches

Hey there
I searched in other similar topics but did not find anything, so decided to write it here.
Actually i want to make Switch with toggle key, to switch on and off 2 or more other switched at same time.
please just give me an advice if its possible…
thanks alot

You can try group:

configuration.yaml:

group:
  twoSwitches:
    - switch.num_one
    - switch.num_two

ui-lovelace.yaml:

  - type: entities
    entities:
      - entity: group.twoSwitches

I wondered whether a Template Switch would work.

1 Like

Thank you
its worked fine,

1 Like