
xiaomi_miio_set_buzzer_on:
  description: Turn the buzzer on.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

xiaomi_miio_set_buzzer_off:
  description: Turn the buzzer off.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

xiaomi_miio_set_led_on:
  description: Turn the led on.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

xiaomi_miio_set_led_off:
  description: Turn the led off.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

xiaomi_miio_set_favorite_level:
  description: Set the favorite level.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

    level:
      description: Level, between 0 and 16.
      example: '1'

xiaomi_miio_set_led_brightness:
  description: Set the led brightness.

  fields:
    entity_id:
      description: Name of the air purifier entity.
      example: 'fan.xiaomi_air_purifier'

    brightness:
      description: Brightness (0 = Bright, 1 = Dim, 2 = Off)
      example: '1'
