---
listenAddressSingleHTTPFrontend: 0.0.0.0:1337

logLevel: "DEBUG"
checkForUpdates: false
defaultPopupOnStart: execution-dialog

entities:
  - file: entities/rooms.yaml
    name: room

actions:
  - title: Test checklist argument
    shell: "echo 'Selected segments: {{ segments }}'"
    icon: ping
    arguments:
      - name: segments
        title: Rooms to clean
        type: checklist
        description: Select the rooms to include in the vacuum run.
        choices:
          - title: Kitchen
            value: kitchen
          - title: Bedroom
            value: bedroom
          - title: Hallway
            value: hallway
        default: kitchen,bedroom

  - title: Test checklist entity argument
    shell: "echo 'Selected rooms: {{ rooms }}'"
    icon: ping
    arguments:
      - name: rooms
        title: Rooms to include
        type: checklist
        entity: room
        choices:
          - title: '{{ room.hostname }}'
            value: '{{ room.hostname }}'
