- alias: Turn On Living Dusk Devices
  trigger:
    - platform: event
      event_type: button_pressed
      event_data: 
        entity_id: switch.living_wallswitch_left
        state: 'on'
  action:
    - service: light.turn_on
      entity_id: group.dusk_living_lights
    - service: logbook.log
      data:
        name: Schemerverlichting
        message: ingeschakeld

- alias: Turn Off Living Devices
  trigger:
    - platform: event
      event_type: button_pressed
      event_data: 
        entity_id: switch.living_wallswitch_left
        state: 'off'
  action:
    - service: light.turn_off
      entity_id: group.living_lights
    - service: logbook.log
      data:
        name: Woonkamerverlichting
        message: uitgeschakeld

- alias: Turn On Living Lights
  trigger:
    - platform: event
      event_type: button_pressed
      event_data: 
        entity_id: switch.living_wallswitch_left
        state: 'on'
  action:
    - service: light.turn_on
      entity_id: group.living_lights
    - service: logbook.log
      data:
        name: Woonkamerverlichting
        message: ingeschakeld

- alias: Turn Off Living Lights
  trigger:
    - platform: event
      event_type: button_pressed
      event_data: 
        entity_id: switch.living_wallswitch_left
        state: 'off'
  action:
    - service: light.turn_off
      entity_id: group.living_lights
    - service: logbook.log
      data:
        name: Woonkamerverlichting
        message: uitgeschakeld

Change from switching dusk to all lights
Change from switching dusk to all lights
