join:
  fields:
    master:
      required: true
      selector:
        entity:
          integration: snapcast
          domain: media_player
    entity_id:
      selector:
        target:
          entity:
            integration: snapcast
            domain: media_player

unjoin:
  target:
    entity:
      integration: snapcast
      domain: media_player

snapshot:
  target:
    entity:
      integration: snapcast
      domain: media_player

restore:
  target:
    entity:
      integration: snapcast
      domain: media_player

set_latency:
  target:
    entity:
      integration: snapcast
      domain: media_player
  fields:
    latency:
      required: true
      selector:
        number:
          min: 1
          max: 1000
          unit_of_measurement: "ms"
