# Describes the format for available bond services

set_fan_speed_tracked_state:
  fields:
    entity_id:
      example: "fan.living_room_fan"
      required: true
      selector:
        entity:
          integration: bond
          domain: fan
    speed:
      required: true
      example: 50
      selector:
        number:
          min: 0
          max: 100
          step: 1
          mode: slider

set_switch_power_tracked_state:
  fields:
    entity_id:
      example: "switch.whatever"
      required: true
      selector:
        entity:
          integration: bond
          domain: switch
    power_state:
      required: true
      example: true
      selector:
        boolean:

set_light_power_tracked_state:
  fields:
    entity_id:
      example: "light.living_room_lights"
      required: true
      selector:
        entity:
          integration: bond
          domain: light
    power_state:
      required: true
      example: true
      selector:
        boolean:

set_light_brightness_tracked_state:
  fields:
    entity_id:
      example: "light.living_room_lights"
      required: true
      selector:
        entity:
          integration: bond
          domain: light
    brightness:
      required: true
      example: 50
      selector:
        number:
          min: 0
          max: 255
          step: 1
          mode: slider

start_increasing_brightness:
  target:
    entity:
      integration: bond
      domain: light

start_decreasing_brightness:
  target:
    entity:
      integration: bond
      domain: light

stop:
  target:
    entity:
      integration: bond
      domain: light
