light:
platform: group
name: Backyard Lights
entities:
- light.backyard_1
- light.backyard
- switch.01777782ecfabcb6eb71
If you want the switch to actually look like a light you can use this to create a new light from your switch and use that in Lovelace dashboards instead of your switch.
Also in future please format your post correctly.