alias: Turn off certain lights when no one is home
trigger:
  platform: state
  entity_id: group.presence
  from: 'home'
  to: 'not_home'
action:
  service: switch.turn_off
  entity_id:
    - switch.lava_lamp
