# Describes the format for available Logi Circle services

set_config:
  description: Set a configuration property.
  fields:
    entity_id:
      description: Name(s) of entities to apply the operation mode to.
      example: "camera.living_room_camera"
    mode:
      description: "Operation mode. Allowed values: LED, RECORDING_MODE."
      example: "RECORDING_MODE"
    value:
      description: "Operation value. Allowed values: true, false"
      example: true

livestream_snapshot:
  description: Take a snapshot from the camera's livestream. Will wake the camera from sleep if required.
  fields:
    entity_id:
      description: Name(s) of entities to create snapshots from.
      example: "camera.living_room_camera"
    filename:
      description: Template of a Filename. Variable is entity_id.
      example: "/tmp/snapshot_{{ entity_id }}.jpg"

livestream_record:
  description: Take a video recording from the camera's livestream.
  fields:
    entity_id:
      description: Name(s) of entities to create recordings from.
      example: "camera.living_room_camera"
    filename:
      description: Template of a Filename. Variable is entity_id.
      example: "/tmp/snapshot_{{ entity_id }}.mp4"
    duration:
      description: Recording duration in seconds.
      example: 60
