如果是性感诸葛说的那样的话,用Group试试可以吗https://www.home-assistant.io/integrations/group/
Example YAML configuration of a light group:
# Example configuration.yaml entry
light:
- platform: group
name: "Kitchen Lights"
entities:
- light.kitchen_ceiling_lights
- light.kitchen_under_cabinet_lights
- light.kitchen_spot_lights
- light.pendant_lights
|